File tree Expand file tree Collapse file tree 8 files changed +14
-8
lines changed
Expand file tree Collapse file tree 8 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -151,6 +151,4 @@ struct sof_ipc_probe_support {
151151 uint32_t reserved [2 ];
152152} __attribute__((packed ));
153153
154- extern const struct sof_ipc_cc_version cc_version ;
155-
156154#endif /* __IPC_INFO_H__ */
Original file line number Diff line number Diff line change 1010
1111#include <ipc/info.h>
1212
13+ extern const struct sof_ipc_cc_version cc_version ;
1314extern const struct sof_ipc_probe_support probe_support ;
1415
1516#endif /* __IPC_FW_READY_METADATA_H__ */
Original file line number Diff line number Diff line change 55// Author: Karol Trzcinski <karolx.trzcinski@linux.intel.com>
66
77#include <ipc/info.h>
8+ #include <sof/fw-ready-metadata.h>
89#include <sof/common.h>
910#include <sof/compiler_info.h>
1011
1819 field = CC_OPTIMIZE_FLAGS, \
1920 field[ARRAY_SIZE(((struct sof_ipc_cc_version *)(0))->optim) - 1] = 0
2021
21- const struct sof_ipc_cc_version cc_version = {
22+ const struct sof_ipc_cc_version cc_version
23+ __attribute__((section (".fw_ready_metadata" ))) = {
2224 .ext_hdr = {
2325 .hdr .cmd = SOF_IPC_FW_READY ,
2426 .hdr .size = sizeof (struct sof_ipc_cc_version )
Original file line number Diff line number Diff line change @@ -66,7 +66,8 @@ static const struct sof_ipc_fw_ready ready
6666};
6767
6868#define NUM_BYT_WINDOWS 6
69- static const struct sof_ipc_window sram_window = {
69+ static const struct sof_ipc_window sram_window
70+ __attribute__((section (".fw_ready_metadata" ))) = {
7071 .ext_hdr = {
7172 .hdr .cmd = SOF_IPC_FW_READY ,
7273 .hdr .size = sizeof (struct sof_ipc_window ) +
Original file line number Diff line number Diff line change @@ -62,7 +62,8 @@ static const struct sof_ipc_fw_ready ready
6262};
6363
6464#define NUM_HSW_WINDOWS 6
65- static const struct sof_ipc_window sram_window = {
65+ static const struct sof_ipc_window sram_window
66+ __attribute__((section (".fw_ready_metadata" ))) = {
6667 .ext_hdr = {
6768 .hdr .cmd = SOF_IPC_FW_READY ,
6869 .hdr .size = sizeof (struct sof_ipc_window ) +
Original file line number Diff line number Diff line change @@ -61,7 +61,8 @@ static const struct sof_ipc_fw_ready ready
6161
6262#define NUM_IMX_WINDOWS 6
6363
64- static const struct sof_ipc_window sram_window = {
64+ static const struct sof_ipc_window sram_window
65+ __attribute__((section (".fw_ready_metadata" ))) = {
6566 .ext_hdr = {
6667 .hdr .cmd = SOF_IPC_FW_READY ,
6768 .hdr .size = sizeof (struct sof_ipc_window ) +
Original file line number Diff line number Diff line change @@ -60,7 +60,8 @@ static const struct sof_ipc_fw_ready ready
6060
6161#define NUM_IMX_WINDOWS 6
6262
63- static const struct sof_ipc_window sram_window = {
63+ static const struct sof_ipc_window sram_window
64+ __attribute__((section (".fw_ready_metadata" ))) = {
6465 .ext_hdr = {
6566 .hdr .cmd = SOF_IPC_FW_READY ,
6667 .hdr .size = sizeof (struct sof_ipc_window ) +
Original file line number Diff line number Diff line change @@ -76,7 +76,8 @@ static const struct sof_ipc_fw_ready ready
7676
7777#define NUM_WINDOWS 7
7878
79- static const struct sof_ipc_window sram_window = {
79+ static const struct sof_ipc_window sram_window
80+ __attribute__((section (".fw_ready_metadata" ))) = {
8081 .ext_hdr = {
8182 .hdr .cmd = SOF_IPC_FW_READY ,
8283 .hdr .size = sizeof (struct sof_ipc_window ) +
You can’t perform that action at this time.
0 commit comments