浏览代码

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: Masahiro Yamada <yamada.masahiro@socionext.com>
Masahiro Yamada 9 年之前
父节点
当前提交
17bd4a2114
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      include/configs/uniphier.h

+ 2 - 0
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