ARM64: zynqmp: Move BSS location to the beginning of ram
authorMichal Simek <michal.simek@xilinx.com>
Tue, 30 Aug 2016 12:58:46 +0000 (14:58 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 22 Sep 2016 05:33:20 +0000 (07:33 +0200)
With SPL_DFU support memory layout needs to be cleanup
that's why move bss to the start of memory.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
include/configs/xilinx_zynqmp.h

index ee8d1e0da0b811818528c3b8c93a490182df21ee..9bf9e24b363cbbd1c85b795e4d754a6053ae34fd 100644 (file)
 #define CONFIG_SPL_MAX_SIZE            0x20000
 
 /* Just random location in OCM */
-#define CONFIG_SPL_BSS_START_ADDR      0x1000000
-#define CONFIG_SPL_BSS_MAX_SIZE                0x2000000
+#define CONFIG_SPL_BSS_START_ADDR      0x0
+#define CONFIG_SPL_BSS_MAX_SIZE                0x80000
 
 #define CONFIG_SPL_FRAMEWORK
 #define CONFIG_SPL_BOARD_INIT