]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
arm: ls102xa: Set fdt_high and initrd_high to the value of 0xffffffff
authorAlison Wang <b18965@freescale.com>
Mon, 26 Oct 2015 06:08:28 +0000 (14:08 +0800)
committerYork Sun <yorksun@freescale.com>
Thu, 29 Oct 2015 17:34:02 +0000 (10:34 -0700)
As 3G/1G user/kernel memory split is used on LS1021A, the Linux kernel
fails to access the device tree blob on boot. The reason is that u-boot
relocates the device tree blob into high memory when booting the kernel
and the kernel is unable to access the blob.

To avoid this issue, fdt_high is set to the value of 0xffffffff. The
device tree blob will not get relocated and is still in low memory to
make it accessible to the kernel.

For the same reason, initrd_high is set to the value of 0xffffffff too.

Signed-off-by: Alison Wang <alison.wang@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
include/configs/ls1021atwr.h

index 40215b9fed47e9d508dc2997885b126471a25bf8..002b7d03a129f5ac74a38f7922dbbf1d90000e9c 100644 (file)
 #ifdef CONFIG_LPUART
 #define CONFIG_EXTRA_ENV_SETTINGS       \
        "bootargs=root=/dev/ram0 rw console=ttyLP0,115200\0" \
-       "initrd_high=0xcfffffff\0"      \
-       "fdt_high=0xcfffffff\0"
+       "initrd_high=0xffffffff\0"      \
+       "fdt_high=0xffffffff\0"
 #else
 #define CONFIG_EXTRA_ENV_SETTINGS      \
        "bootargs=root=/dev/ram0 rw console=ttyS0,115200\0" \
-       "initrd_high=0xcfffffff\0"      \
-       "fdt_high=0xcfffffff\0"
+       "initrd_high=0xffffffff\0"      \
+       "fdt_high=0xffffffff\0"
 #endif
 
 /*