Skip to content

Commit cee5f5f

Browse files
authored
Merge pull request #554 from mwierzbix/workaround-build_fail_for_smt_too_big_sof_text
debugability: workaround for SOF_TEXT_SIZE too big with smp enabled
2 parents 431711c + 68bce25 commit cee5f5f

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/platform/apollolake/include/platform/memory.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@
250250

251251
#define SOF_TEXT_START (HP_SRAM_VECBASE_RESET + 0x400)
252252
#define SOF_TEXT_BASE (SOF_TEXT_START)
253-
#define SOF_TEXT_SIZE (0x1a000 - 0x400)
253+
#define SOF_TEXT_SIZE (0x1a000 - 0x400 + 0x1000)
254254

255255
/* initialized data */
256256
#define SOF_DATA_START (SOF_TEXT_BASE + SOF_TEXT_SIZE)

src/platform/cannonlake/include/platform/memory.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@
237237
/* text and data share the same HP L2 SRAM on Cannonlake */
238238
#define SOF_TEXT_START 0xBE040400
239239
#define SOF_TEXT_BASE (SOF_TEXT_START)
240-
#define SOF_TEXT_SIZE (0x1b000 - 0x400)
240+
#define SOF_TEXT_SIZE (0x1b000 - 0x400 + 0x1000)
241241

242242
/* initialized data */
243243
#define SOF_DATA_START (SOF_TEXT_BASE + SOF_TEXT_SIZE)

src/platform/icelake/include/platform/memory.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@
237237
/* text and data share the same HP L2 SRAM on Icelake */
238238
#define SOF_TEXT_START 0xBE040400
239239
#define SOF_TEXT_BASE (SOF_TEXT_START)
240-
#define SOF_TEXT_SIZE (0x1a000 - 0x400)
240+
#define SOF_TEXT_SIZE (0x1a000 - 0x400 + 0x1000)
241241

242242
/* initialized data */
243243
#define SOF_DATA_START (SOF_TEXT_BASE + SOF_TEXT_SIZE)

src/platform/suecreek/include/platform/memory.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@
177177
#define SOF_TEXT_START (HP_SRAM_BASE + L2_VECTOR_SIZE)
178178
#define SOF_TEXT_START_SIZE 0x400
179179
#define SOF_TEXT_BASE (SOF_TEXT_START + SOF_TEXT_START_SIZE)
180-
#define SOF_TEXT_SIZE (0x40000 - SOF_TEXT_START_SIZE)
180+
#define SOF_TEXT_SIZE (0x40000 - SOF_TEXT_START_SIZE + 0x1000)
181181

182182
/* initialized data */
183183
#if defined CONFIG_DMIC

0 commit comments

Comments
 (0)