/* 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) 2018 Intel Corporation */ /* * Firmware file format . */ #ifndef __INCLUDE_UAPI_SOF_FW_H__ #define __INCLUDE_UAPI_SOF_FW_H__ #include <linux/types.h> #define SND_SOF_FW_SIG_SIZE … #define SND_SOF_FW_ABI … #define SND_SOF_FW_SIG … /* * Firmware module is made up of 1 . N blocks of different types. The * Block header is used to determine where and how block is to be copied in the * DSP/host memory space. */ enum snd_sof_fw_blk_type { … }; struct snd_sof_blk_hdr { … } __packed; /* * Firmware file is made up of 1 .. N different modules types. The module * type is used to determine how to load and parse the module. */ enum snd_sof_fw_mod_type { … }; struct snd_sof_mod_hdr { … } __packed; /* * Firmware file header. */ struct snd_sof_fw_header { … } __packed; #endif