ARM: uniphier: define CONFIG_SYS_BOOTMAPSZ
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 8 Jan 2016 17:12:26 +0000 (02:12 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 19 Jan 2016 23:39:22 +0000 (08:39 +0900)
U-Boot relocates the device tree and the initramdisk to the tail
of the memory region before booting the kernel.

Some UniPhier boards are equipped with a large amount of memory.
For those boards, the device tree and the initramdisk are placed out
of the the kernel causing a kernel panic.

Add CONFIG_SYS_BOOTMAPSZ to prevent them from going too high.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
include/configs/uniphier.h

index 463c6871c09fbf7b201a3507cb6882dd920431ca..c7d86286b03e77f5dac97fd3660c266518638059 100644 (file)
                "nand write $loadaddr 0x00010000 0x000f0000\0"  \
        LINUXBOOT_ENV_SETTINGS
 
+#define CONFIG_SYS_BOOTMAPSZ                   0x20000000
+
 /* Open Firmware flat tree */
 #define CONFIG_OF_LIBFDT