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