xref: /openbmc/linux/sound/soc/sof/intel/ext_manifest.h (revision e2ad626f)
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 	SOF_EXT_MAN_CAVS_CONFIG_OUTBOX_SIZE	= 2,
25 	SOF_EXT_MAN_CAVS_CONFIG_INBOX_SIZE	= 3,
26 };
27 
28 /* EXT_MAN_ELEM_PLATFORM_CONFIG_DATA elements */
29 struct sof_ext_man_cavs_config_data {
30 	struct sof_ext_man_elem_header hdr;
31 
32 	struct sof_config_elem elems[];
33 } __packed;
34 
35 #endif /* __INTEL_CAVS_EXT_MANIFEST_H__ */
36