soc: xtensa: rework DT_L2_SRAM and DT_L2_SRAM
Rename DT_L2_SRAM_* to just L2_SRAM_* and set it using new DT macros. Do something similar for DT_LP_SRAM_* renamed to LP_SRAM_* Updated the intel_gna driver as it used the DT_L2_SRAM_* defines. This change also lets us remove dts_fixup.h on intel_s1000 and intel_apl_adsp SoCs. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
aa63b07019
commit
8aeb8a3814
8 changed files with 26 additions and 46 deletions
|
@ -449,7 +449,7 @@ SECTIONS
|
|||
/* stack */
|
||||
_end = ALIGN(8);
|
||||
PROVIDE(end = ALIGN(8));
|
||||
__stack = DT_L2_SRAM_BASE + DT_L2_SRAM_SIZE;
|
||||
__stack = L2_SRAM_BASE + L2_SRAM_SIZE;
|
||||
/* dma buffers */
|
||||
.lpbuf (NOLOAD): ALIGN(4)
|
||||
{
|
||||
|
@ -457,7 +457,7 @@ SECTIONS
|
|||
*(.dma_buffers)
|
||||
_dma_buf_end = ABSOLUTE(.);
|
||||
} >LPRAM_REGION
|
||||
_heap_sentry = DT_L2_SRAM_BASE + DT_L2_SRAM_SIZE;
|
||||
_heap_sentry = L2_SRAM_BASE + L2_SRAM_SIZE;
|
||||
.comment 0 : { *(.comment) }
|
||||
.debug 0 : { *(.debug) }
|
||||
.line 0 : { *(.line) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue