]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
xilinx: zynqmp: Do not use 0 as spl bss start address
authorStefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Tue, 7 Jun 2022 07:43:14 +0000 (09:43 +0200)
committerMichal Simek <michal.simek@amd.com>
Fri, 24 Jun 2022 12:11:06 +0000 (14:11 +0200)
Do not use 0 as address for memory because of the special meaning for
pointers (null pointer). Change the spl bss start address to the second
page.

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Link: https://lore.kernel.org/r/20220607074314.27125-1-stefan.herbrechtsmeier-oss@weidmueller.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
include/configs/xilinx_zynqmp.h

index f25d796a1e723829005d04b2bc22b48e29dd70a1..21a5cf1617b1ebae963d7067788d194553cb3fea 100644 (file)
 #define CONFIG_SPL_MAX_SIZE            0x40000
 
 /* Just random location in OCM */
-#define CONFIG_SPL_BSS_START_ADDR      0x0
+#define CONFIG_SPL_BSS_START_ADDR      0x1000
 #define CONFIG_SPL_BSS_MAX_SIZE                0x80000
 
 #if defined(CONFIG_SPL_SPI_FLASH_SUPPORT)