Skip to content

Commit 09cdc1f

Browse files
lyakhkartben
authored andcommitted
soc: intel_adsp: add a "cold" module manifest
Add a manifest for a "cold" module, that will be executed in DRAM without copying it to SRAM for the whole duration of the firmware life-time. Signed-off-by: Guennadi Liakhovetski <[email protected]>
1 parent de4003c commit 09cdc1f

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

soc/intel/intel_adsp/common/rimage_modules.c

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,17 @@ const struct sof_man_module_manifest main_manifest = {
4242
.affinity_mask = 3,
4343
}
4444
};
45+
46+
__attribute__((section(".module.cold")))
47+
const struct sof_man_module_manifest cold_manifest = {
48+
.module = {
49+
.name = "COLD",
50+
/* d406d134-c3c1-402c-8aec-6821c0c2b0e6 */
51+
.uuid = {0x34, 0xd1, 0x06, 0xd4, 0xc1, 0xc3, 0x2c, 0x40,
52+
0x8a, 0xec, 0x68, 0x21, 0xc0, 0xc2, 0xb0, 0xe6},
53+
.entry_point = 0,
54+
.type = { .load_type = SOF_MAN_MOD_TYPE_MODULE,
55+
.domain_ll = 1 },
56+
.affinity_mask = 3,
57+
}
58+
};

0 commit comments

Comments
 (0)