Skip to content
Snippets Groups Projects
Commit 17bd4a21 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

ARM: uniphier: define CONFIG_SYS_BOOTMAPSZ


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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 3ed2ece5
No related branches found
No related tags found
No related merge requests found
......@@ -226,6 +226,8 @@
"nand write $loadaddr 0x00010000 0x000f0000\0" \
LINUXBOOT_ENV_SETTINGS
#define CONFIG_SYS_BOOTMAPSZ 0x20000000
/* Open Firmware flat tree */
#define CONFIG_OF_LIBFDT
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment