summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2020-02-13 09:50:54 +0100
committerJaehoon Chung <jh80.chung@samsung.com>2023-10-17 13:19:20 +0900
commitc03084b1d960335bec799463008db12dcf137da3 (patch)
tree297dba7378dbe772fa167d228d670d0c6c33bfb5 /include
parent3da50684a1b83e18efb5dc867b6b4d24ab146d39 (diff)
downloadu-boot-c03084b1d960335bec799463008db12dcf137da3.tar.gz
u-boot-c03084b1d960335bec799463008db12dcf137da3.tar.bz2
u-boot-c03084b1d960335bec799463008db12dcf137da3.zip
config: rpi: Increase malloc buffer size
GENET ethernet driver and THORdown consume more memory than the default 4M, so increase the malloc buffer size to 16M to let them work together. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Change-Id: I1c4d386761699fcb72b1a76d90d50518554a2980
Diffstat (limited to 'include')
-rw-r--r--include/configs/rpi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/rpi.h b/include/configs/rpi.h
index 280b6ec8ba..715aa4de58 100644
--- a/include/configs/rpi.h
+++ b/include/configs/rpi.h
@@ -32,6 +32,11 @@
* the VC uses.
*/
#define CFG_SYS_SDRAM_SIZE SZ_128M
+#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + \
+ CFG_SYS_SDRAM_SIZE - \
+ GENERATED_GBL_DATA_SIZE)
+#define CONFIG_SYS_MALLOC_LEN SZ_16M
+#define CONFIG_LOADADDR 0x00200000
/* Devices */
/* LCD */