diff mbox

[U-Boot,1/2] ARM: uniphier: define CONFIG_SYS_BOOTMAPSZ

Message ID 1452273147-14373-1-git-send-email-yamada.masahiro@socionext.com
State Accepted
Commit 17bd4a211467c66e63d79ffc35b1e1644152ad14
Delegated to: Masahiro Yamada
Headers show

Commit Message

Masahiro Yamada Jan. 8, 2016, 5:12 p.m. UTC
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 | 2 ++
 1 file changed, 2 insertions(+)

Comments

Masahiro Yamada Jan. 19, 2016, 11:46 p.m. UTC | #1
2016-01-09 2:12 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>:
> 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>

Applied to u-boot-uniphier/master.
diff mbox

Patch

diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h
index 463c687..c7d8628 100644
--- a/include/configs/uniphier.h
+++ b/include/configs/uniphier.h
@@ -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