xref: /openbmc/linux/sound/soc/sof/intel/ext_manifest.h (revision edbaaada)
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. All rights reserved.
7  */
8 
9 /*
10  * Intel extended manifest is a extra place to store Intel cavs specific
11  * metadata about firmware, for example LPRO/HPRO configuration is
12  * Intel cavs specific. This part of output binary is not signed.
13  */
14 
15 #ifndef __INTEL_CAVS_EXT_MANIFEST_H__
16 #define __INTEL_CAVS_EXT_MANIFEST_H__
17 
18 #include <sound/sof/ext_manifest.h>
19 
20 /* EXT_MAN_ELEM_PLATFORM_CONFIG_DATA elements identificators */
21 enum sof_cavs_config_elem_type {
22 	SOF_EXT_MAN_CAVS_CONFIG_EMPTY		= 0,
23 	SOF_EXT_MAN_CAVS_CONFIG_CAVS_LPRO	= 1,
24 };
25 
26 /* EXT_MAN_ELEM_PLATFORM_CONFIG_DATA elements */
27 struct sof_ext_man_cavs_config_data {
28 	struct sof_ext_man_elem_header hdr;
29 
30 	struct sof_config_elem elems[];
31 } __packed;
32 
33 #endif /* __INTEL_CAVS_EXT_MANIFEST_H__ */
34