blob: f6062971c641aca31725da9d46d6d7ac4109f819 [file] [log] [blame]
Joel Stanley229a6552019-07-30 16:30:09 +09301From 41d6940891b91e27ea5509eda2247811a3ba0c0d Mon Sep 17 00:00:00 2001
2From: Joel Stanley <joel@jms.id.au>
3Date: Tue, 30 Jul 2019 15:52:05 +0930
4Subject: [PATCH] aspeed: Limit bootm memory
5
6This ensures u-boot places the kernel, device tree and initrd at an
7address that is accessible by the Linux early boot code.
8
9Without this, when booting with FIT the device tree is placed at the end
10of RAM which is not mapped on the AST2600 EVB which contains 2GB of RAM.
11
12Signed-off-by: Joel Stanley <joel@jms.id.au>
13---
14 include/configs/aspeed-common.h | 1 +
15 1 file changed, 1 insertion(+)
16
17diff --git a/include/configs/aspeed-common.h b/include/configs/aspeed-common.h
18index 3b345ba46333..eba4e1c79d80 100644
19--- a/include/configs/aspeed-common.h
20+++ b/include/configs/aspeed-common.h
21@@ -41,6 +41,7 @@
22 #define CONFIG_SYS_INIT_SP_ADDR \
23 (SYS_INIT_RAM_END - GENERATED_GBL_DATA_SIZE)
24
25+#define CONFIG_SYS_BOOTMAPSZ (256 * 1024 * 1024)
26 #define CONFIG_SYS_MALLOC_LEN (32 << 20)
27
28 /*
29--
302.20.1
31