forked from Imagelibrary/rtems
bsp/xilinx-zynqmp: Simplify linkcmds config
Do all calculations in the linker command file. This is a preparation for the new build system.
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
MEMORY {
|
||||
RAM_INT_0 : ORIGIN = @ZYNQMP_RAM_INT_0_ORIGIN@, LENGTH = @ZYNQMP_RAM_INT_0_LENGTH@
|
||||
RAM_INT_1 : ORIGIN = @ZYNQMP_RAM_INT_1_ORIGIN@, LENGTH = @ZYNQMP_RAM_INT_1_LENGTH@
|
||||
RAM_MMU : ORIGIN = @ZYNQMP_RAM_MMU@, LENGTH = @ZYNQMP_RAM_MMU_LENGTH@
|
||||
RAM : ORIGIN = @ZYNQMP_RAM_ORIGIN_AVAILABLE@, LENGTH = @ZYNQMP_RAM_LENGTH_AVAILABLE@ - @ZYNQMP_RAM_NOCACHE_LENGTH@
|
||||
NOCACHE : ORIGIN = @ZYNQMP_RAM_ORIGIN_AVAILABLE@ + @ZYNQMP_RAM_LENGTH_AVAILABLE@ - @ZYNQMP_RAM_NOCACHE_LENGTH@, LENGTH = @ZYNQMP_RAM_NOCACHE_LENGTH@
|
||||
RAM_MMU : ORIGIN = @ZYNQMP_RAM_ORIGIN@, LENGTH = @ZYNQMP_RAM_MMU_LENGTH@
|
||||
RAM : ORIGIN = @ZYNQMP_RAM_ORIGIN@ + @ZYNQMP_RAM_MMU_LENGTH@, LENGTH = @BSP_ZYNQMP_RAM_LENGTH@ - @ZYNQMP_RAM_ORIGIN@ - @ZYNQMP_RAM_MMU_LENGTH@ - @ZYNQMP_RAM_NOCACHE_LENGTH@
|
||||
NOCACHE : ORIGIN = @BSP_ZYNQMP_RAM_LENGTH@ - @ZYNQMP_RAM_NOCACHE_LENGTH@, LENGTH = @ZYNQMP_RAM_NOCACHE_LENGTH@
|
||||
}
|
||||
|
||||
REGION_ALIAS ("REGION_START", RAM);
|
||||
|
||||
Reference in New Issue
Block a user