manifest: Move MAN_MAX_SIZE_V1_8 define to the public manifest header

Currently, sof incorrectly includes a private manifest.h header belonging
to the manifest.c module. Moved the MAN_MAX_SIZE_V1_8 definition used by
sof, to the public manifest header to allow sof to switch to using the
correct file.

Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
This commit is contained in:
Adrian Warecki 2023-03-31 10:13:57 +02:00 committed by Liam Girdwood
parent 6e3abe6afe
commit debf4cf605
2 changed files with 3 additions and 1 deletions

View File

@ -71,7 +71,6 @@ struct manifest_module {
};
#define MAN_PAGE_SIZE 4096
#define MAN_MAX_SIZE_V1_8 (38 * 1024)
/* start offset for modules built using xcc */
#define DEFAULT_XCC_MOD_OFFSET 0x8

View File

@ -30,6 +30,9 @@
#define SOF_MAN_MOD_INIT_CONFIG_BASE_CFG 0 /* Base config only */
#define SOF_MAN_MOD_INIT_CONFIG_BASE_CFG_WITH_EXT 1 /* Base config with extension */
#define MAN_MAX_SIZE_V1_8 (38 * 1024)
struct sof_man_module_type {
uint32_t load_type:4; /* SOF_MAN_MOD_TYPE_ */
uint32_t auto_start:1;