]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: ls102xa: Update fdt_high and initrd_high for LS1021AQDS board
authorAlison Wang <b18965@freescale.com>
Thu, 5 Nov 2015 03:16:26 +0000 (11:16 +0800)
committerYork Sun <yorksun@freescale.com>
Mon, 30 Nov 2015 17:11:12 +0000 (09:11 -0800)
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.

This patch is to update fdt_high and initrd_high for LS1021AQDS board.

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

index 00640cd055016995f2b255bcc4917b40bbe0d283..2e8dbc7a78b340e5ab879d170f4b19c5181255e1 100644 (file)
@@ -575,14 +575,14 @@ unsigned long get_board_ddr_clk(void);
 #ifdef CONFIG_LPUART
 #define CONFIG_EXTRA_ENV_SETTINGS       \
        "bootargs=root=/dev/ram0 rw console=ttyLP0,115200\0" \
-       "fdt_high=0xcfffffff\0"         \
-       "initrd_high=0xcfffffff\0"      \
+       "fdt_high=0xffffffff\0"         \
+       "initrd_high=0xffffffff\0"      \
        "hwconfig=fsl_ddr:ctlr_intlv=null,bank_intlv=null\0"
 #else
 #define CONFIG_EXTRA_ENV_SETTINGS      \
        "bootargs=root=/dev/ram0 rw console=ttyS0,115200\0" \
-       "fdt_high=0xcfffffff\0"         \
-       "initrd_high=0xcfffffff\0"      \
+       "fdt_high=0xffffffff\0"         \
+       "initrd_high=0xffffffff\0"      \
        "hwconfig=fsl_ddr:ctlr_intlv=null,bank_intlv=null\0"
 #endif