From 1e1afa3779e594e09387fba1812d3028fb00cd9e Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 23 Oct 2019 14:03:39 +0200 Subject: bsp/xilinx-zynqmp: Simplify linkcmds config Do all calculations in the linker command file. This is a preparation for the new build system. --- bsps/arm/xilinx-zynqmp/start/linkcmds.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bsps') diff --git a/bsps/arm/xilinx-zynqmp/start/linkcmds.in b/bsps/arm/xilinx-zynqmp/start/linkcmds.in index a1eec7e10a..435af0e7e9 100644 --- a/bsps/arm/xilinx-zynqmp/start/linkcmds.in +++ b/bsps/arm/xilinx-zynqmp/start/linkcmds.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); -- cgit v1.2.3