Commit 66b6120
committed
rimage: manifest: Make "cold" section size 0 when not used
There are some non-critical data and code sections that are kept in DRAM
to be accessed and executed from there without being copyind to SRAM.
Such sections are marked as `detached` and linked into a separate
"cold.mod" module.
rimage considers zones starting at SOF_MODULE_DRAM_LINK_START to
SOF_MODULE_DRAM_LINK_END to be cold and links them separately.
On i.MX8MP for M7 support this overalps with ITCM/DTCM/OCRAM areas which
causes boot problems.
So, treat all sections as SRAM when CONFIG_COLD_STORE_EXECUTE_DRAM is
not enabled by making DRAM link sections size equal to 0 in this case.
Closes: #10602
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>1 parent d16d8c4 commit 66b6120
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| 260 | + | |
260 | 261 | | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
261 | 265 | | |
262 | 266 | | |
0 commit comments