Map PIM region to uncacheable region
This commit is contained in:
@@ -1,16 +1,15 @@
|
||||
MEMORY
|
||||
{
|
||||
bootmem : ORIGIN = 0x0, LENGTH = 0x100000
|
||||
dram : ORIGIN = 0x80000000, LENGTH = 0x20000000
|
||||
dram_pim : ORIGIN = 0xA0000000, LENGTH = 0x20000000
|
||||
dram : ORIGIN = 0x80000000, LENGTH = 0x40000000
|
||||
dram_pim_config : ORIGIN = 0xC0000000, LENGTH = 0x4000
|
||||
dram_pim_data : ORIGIN = 0xC0004000, LENGTH = 0x3FFFC000
|
||||
}
|
||||
|
||||
ENTRY(_start)
|
||||
SECTIONS
|
||||
{
|
||||
.init : { *(.init) } > bootmem
|
||||
.pim_config : { KEEP(*(.pim_config)) } > dram
|
||||
# . = . + 0x4000;
|
||||
.text : { KEEP(*(.text)) } > dram
|
||||
.data : { *(.data) } > dram
|
||||
.rodata : { *(.rodata) } > dram
|
||||
@@ -20,5 +19,6 @@ SECTIONS
|
||||
. = . + 0x100000; # 1 MiB Stack
|
||||
LD_STACK_PTR = .;
|
||||
|
||||
.pim_data : { KEEP(*(.pim_data)) } > dram_pim
|
||||
.pim_config : { KEEP(*(.pim_config)) } > dram_pim_config
|
||||
.pim_data : { KEEP(*(.pim_data)) } > dram_pim_data
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user