ASoC: SOF: Add header for IPC4 manifest
[linux-2.6-block.git] / sound / soc / sof / ipc4-priv.h
CommitLineData
0af82904
RS
1/* SPDX-License-Identifier: (GPL-2.0-only 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) 2022 Intel Corporation. All rights reserved.
7 */
8
9#ifndef __SOUND_SOC_SOF_IPC4_PRIV_H
10#define __SOUND_SOC_SOF_IPC4_PRIV_H
11
12#include <linux/idr.h>
13#include "sof-priv.h"
14
15/**
16 * struct sof_ipc4_fw_data - IPC4-specific data
17 * @manifest_fw_hdr_offset: FW header offset in the manifest
18 * @num_fw_modules : Number of modules in base FW
19 * @fw_modules: Array of base FW modules
20 */
21struct sof_ipc4_fw_data {
22 u32 manifest_fw_hdr_offset;
23 int num_fw_modules;
24 void *fw_modules;
25};
26
27#endif