diff options
Diffstat (limited to 'common/firmware_image.lds.S')
-rw-r--r-- | common/firmware_image.lds.S | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/common/firmware_image.lds.S b/common/firmware_image.lds.S index 7522cf792a..fc1b1f1d7d 100644 --- a/common/firmware_image.lds.S +++ b/common/firmware_image.lds.S @@ -44,6 +44,10 @@ MEMORY { FLASH (rx) : ORIGIN = CONFIG_PROGRAM_MEMORY_BASE, LENGTH = CONFIG_FLASH_SIZE +#ifdef CONFIG_IPI + IPI_BUFFER (rw) : ORIGIN = CONFIG_IPC_SHARED_OBJ_ADDR, + LENGTH = (CONFIG_IPC_SHARED_OBJ_BUF_SIZE + 8) * 2 +#endif #ifdef CONFIG_DRAM_BASE DRAM (rx) : ORIGIN = CONFIG_DRAM_BASE_LOAD, LENGTH = CONFIG_DRAM_SIZE #endif @@ -96,6 +100,12 @@ SECTIONS BYTE(0xff); } > FLASH =0xff +#ifdef CONFIG_IPI + /* The section holds address of IPI buffer but no symbols. */ + .ipi_buffer(NOLOAD) : { + } > IPI_BUFFER +#endif + #ifdef CONFIG_DRAM_BASE .image.RW.dram : AT(CONFIG_DRAM_BASE_LOAD) { *(.image.RW.dram) |