With FIT boot, U-boot puts a device tree and an initramdisk at the
tail of the memory.

Some UniPhier boards have a large amount of memory.  For those
boards, a device tree and an initramdisk are located out of reach of
the Linux kernel causing a kernel panic if CONFIG_VMSPLIT_3G is
defined in the kernel side.

Add initrd_high and fdt_high to prevent them from going too high.

Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com>
---

 include/configs/uniphier.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h
index d4688c5..dea340f 100644
--- a/include/configs/uniphier.h
+++ b/include/configs/uniphier.h
@@ -236,6 +236,8 @@
        "netdev=eth0\0"                         \
        "image_offset=0x00080000\0"             \
        "image_size=0x00f00000\0"               \
+       "initrd_high=0xa0000000\0"              \
+       "fdt_high=0xa0000000\0"                 \
        "verify=n\0"                            \
        "nandupdate=nand erase 0 0x100000 &&"                           \
                   "tftpboot u-boot-spl.bin &&"                         \
-- 
1.9.1

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to