]> git.sur5r.net Git - u-boot/commitdiff
rpi: Adjust fdt_addr_r to a sane address
authorAlexander Graf <agraf@suse.de>
Fri, 13 Apr 2018 15:37:34 +0000 (17:37 +0200)
committerAlexander Graf <agraf@suse.de>
Wed, 23 May 2018 20:31:23 +0000 (22:31 +0200)
Back in the old days, 0x100 was used as the address to pass the device tree
from firmware into the kernel. This has since changed to a more dynamic
location, so using 0x100 actually breaks more things than it helps with.

Let's move the device tree default location for distro boot to a more sane
place that gives us enough head room in low memory.

Reported-by: Tuomas Tynkkynen <tuomas@tuxera.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
include/configs/rpi.h

index 69a22e17009a6ab7b31e288502efbb58a3669cb1..8b21453d7801972581c2d6257e252cdf12319118 100644 (file)
 #define ENV_MEM_LAYOUT_SETTINGS \
        "fdt_high=ffffffff\0" \
        "initrd_high=ffffffff\0" \
-       "fdt_addr_r=0x00000100\0" \
+       "fdt_addr_r=0x01f00000\0" \
        "pxefile_addr_r=0x00100000\0" \
        "kernel_addr_r=0x01000000\0" \
        "scriptaddr=0x02000000\0" \