/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */ /* * This file is provided under a dual BSD/GPLv2 license. When using or * redistributing this file, you may do so under either license. * * Copyright(c) 2022 Intel Corporation */ /* * Extended manifest is a place to store metadata about firmware, known during * compilation time - for example firmware version or used compiler. * Given information are read on host side before firmware startup. * This part of output binary is not signed. */ #ifndef __SOF_FIRMWARE_EXT_MANIFEST4_H__ #define __SOF_FIRMWARE_EXT_MANIFEST4_H__ #include <linux/uuid.h> /* In ASCII $AE1 */ #define SOF_EXT_MAN4_MAGIC_NUMBER … #define MAX_MODULE_NAME_LEN … #define MAX_FW_BINARY_NAME … #define DEFAULT_HASH_SHA256_LEN … #define SOF_MAN4_FW_HDR_OFFSET … #define SOF_MAN4_FW_HDR_OFFSET_CAVS_1_5 … /********************************************************************* * extended manifest (struct sof_ext_manifest4_hdr) *------------------- * css_manifest hdr *------------------- * offset reserved for future *------------------- * fw_hdr (struct sof_man4_fw_binary_header) *------------------- * module_entry[0] (struct sof_man4_module) *------------------- * module_entry[1] *------------------- * ... *------------------- * module_entry[n] *------------------- * module_config[0] (struct sof_man4_module_config) *------------------- * module_config[1] *------------------- * ... *------------------- * module_config[m] *------------------- * FW content *------------------- *********************************************************************/ struct sof_ext_manifest4_hdr { … } __packed; struct sof_man4_fw_binary_header { … } __packed; struct sof_man4_segment_desc { … } __packed; struct sof_man4_module { … } __packed; struct sof_man4_module_config { … } __packed; #endif /* __SOF_FIRMWARE_EXT_MANIFEST4_H__ */