ext_manifest.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
  2. /*
  3. * This file is provided under a dual BSD/GPLv2 license. When using or
  4. * redistributing this file, you may do so under either license.
  5. *
  6. * Copyright(c) 2020 Intel Corporation
  7. */
  8. /*
  9. * Intel extended manifest is a extra place to store Intel cavs specific
  10. * metadata about firmware, for example LPRO/HPRO configuration is
  11. * Intel cavs specific. This part of output binary is not signed.
  12. */
  13. #ifndef __INTEL_CAVS_EXT_MANIFEST_H__
  14. #define __INTEL_CAVS_EXT_MANIFEST_H__
  15. #include <sound/sof/ext_manifest.h>
  16. /* EXT_MAN_ELEM_PLATFORM_CONFIG_DATA elements identificators */
  17. enum sof_cavs_config_elem_type {
  18. SOF_EXT_MAN_CAVS_CONFIG_EMPTY = 0,
  19. SOF_EXT_MAN_CAVS_CONFIG_CAVS_LPRO = 1,
  20. SOF_EXT_MAN_CAVS_CONFIG_OUTBOX_SIZE = 2,
  21. SOF_EXT_MAN_CAVS_CONFIG_INBOX_SIZE = 3,
  22. };
  23. /* EXT_MAN_ELEM_PLATFORM_CONFIG_DATA elements */
  24. struct sof_ext_man_cavs_config_data {
  25. struct sof_ext_man_elem_header hdr;
  26. struct sof_config_elem elems[];
  27. } __packed;
  28. #endif /* __INTEL_CAVS_EXT_MANIFEST_H__ */