Skip to content

Commit 68bce25

Browse files
mwierzbixbkokoszx
authored andcommitted
debugability: workaround for SOF_TEXT_SIZE too big with smp enabled (issue553)
Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
1 parent 33e4b99 commit 68bce25

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
@@ -232,7 +232,7 @@
232232
/* text and data share the same HP L2 SRAM on Cannonlake */
233233
#define SOF_TEXT_START 0xBE040400
234234
#define SOF_TEXT_BASE (SOF_TEXT_START)
235-
#define SOF_TEXT_SIZE (0x1b000 - 0x400)
235+
#define SOF_TEXT_SIZE (0x1b000 - 0x400 + 0x1000)
236236

237237
/* initialized data */
238238
#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
@@ -232,7 +232,7 @@
232232
/* text and data share the same HP L2 SRAM on Icelake */
233233
#define SOF_TEXT_START 0xBE040400
234234
#define SOF_TEXT_BASE (SOF_TEXT_START)
235-
#define SOF_TEXT_SIZE (0x1a000 - 0x400)
235+
#define SOF_TEXT_SIZE (0x1a000 - 0x400 + 0x1000)
236236

237237
/* initialized data */
238238
#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
@@ -172,7 +172,7 @@
172172
#define SOF_TEXT_START (HP_SRAM_BASE + L2_VECTOR_SIZE)
173173
#define SOF_TEXT_START_SIZE 0x400
174174
#define SOF_TEXT_BASE (SOF_TEXT_START + SOF_TEXT_START_SIZE)
175-
#define SOF_TEXT_SIZE (0x40000 - SOF_TEXT_START_SIZE)
175+
#define SOF_TEXT_SIZE (0x40000 - SOF_TEXT_START_SIZE + 0x1000)
176176

177177
/* initialized data */
178178
#if defined CONFIG_DMIC

0 commit comments

Comments
 (0)