]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rpi: set fdt_addr_r to 0x00000100 to match default device_tree_address
authorJonathan Liu <net147@gmail.com>
Sat, 22 Aug 2015 10:27:17 +0000 (20:27 +1000)
committerTom Rini <trini@konsulko.com>
Fri, 28 Aug 2015 15:46:35 +0000 (11:46 -0400)
Raspberry Pi by default loads the FDT to 0x00000100 so set fdt_addr_r to
match and move scriptaddr to 0x02000000 to avoid clobbering the FDT.

Signed-off-by: Jonathan Liu <net147@gmail.com>
include/configs/rpi-common.h

index 8830a10efb012755ae76e644212a20482b89c434..06836cd5d8e916bd51197fdc55e9541952afcccc 100644 (file)
  *   for the FDT/DTB to be up to 1M, which is hopefully plenty.
  */
 #define ENV_MEM_LAYOUT_SETTINGS \
-       "scriptaddr=0x00000000\0" \
+       "fdt_addr_r=0x00000100\0" \
        "pxefile_addr_r=0x00100000\0" \
        "kernel_addr_r=0x01000000\0" \
-       "fdt_addr_r=0x02000000\0" \
+       "scriptaddr=0x02000000\0" \
        "ramdisk_addr_r=0x02100000\0" \
 
 #define BOOT_TARGET_DEVICES(func) \