2019-06-02 02:01:02 +08:00
|
|
|
/* SPDX-License-Identifier: BSD-3-Clause
|
2018-02-14 04:29:40 +08:00
|
|
|
*
|
|
|
|
* Copyright(c) 2017 Intel Corporation. All rights reserved.
|
|
|
|
*
|
|
|
|
* Author: Liam Girdwood <liam.r.girdwood@linux.intel.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Firmware file format .
|
|
|
|
*/
|
|
|
|
|
2019-01-28 20:10:34 +08:00
|
|
|
#ifndef __INCLUDE_FILE_FORMAT_H__
|
|
|
|
#define __INCLUDE_FILE_FORMAT_H__
|
2018-02-14 04:29:40 +08:00
|
|
|
|
2019-05-31 21:04:48 +08:00
|
|
|
#include <ipc/info.h>
|
|
|
|
#include <kernel/fw.h>
|
2018-02-14 04:29:40 +08:00
|
|
|
|
2018-09-25 21:19:25 +08:00
|
|
|
#define SND_SOF_LOGS_SIG_SIZE 4
|
|
|
|
#define SND_SOF_LOGS_SIG "Logs"
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Logs dictionary file header.
|
|
|
|
*/
|
|
|
|
struct snd_sof_logs_header {
|
|
|
|
unsigned char sig[SND_SOF_LOGS_SIG_SIZE]; /* "Logs" */
|
|
|
|
uint32_t base_address; /* address of log entries section */
|
|
|
|
uint32_t data_length; /* amount of bytes following this header */
|
|
|
|
uint32_t data_offset; /* offset to first entry in this file */
|
2018-10-29 19:55:23 +08:00
|
|
|
struct sof_ipc_fw_version version;
|
2018-09-25 21:19:25 +08:00
|
|
|
};
|
2018-02-14 04:29:40 +08:00
|
|
|
#endif
|