summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-01-09 02:12:26 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2016-01-20 08:39:22 +0900
commit17bd4a211467c66e63d79ffc35b1e1644152ad14 (patch)
treec571a4ad9f87a5800da5b84445efd1cd4c351cc2 /include
parent3ed2ece5e162b104cd3ea3788cae841ecd24408f (diff)
downloadu-boot-imx-17bd4a211467c66e63d79ffc35b1e1644152ad14.zip
u-boot-imx-17bd4a211467c66e63d79ffc35b1e1644152ad14.tar.gz
u-boot-imx-17bd4a211467c66e63d79ffc35b1e1644152ad14.tar.bz2
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>
Diffstat (limited to 'include')
-rw-r--r--include/configs/uniphier.h2
1 files changed, 2 insertions, 0 deletions
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