aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHeiko Schocher2017-06-23 20:13:59 +0200
committerTom Rini2017-06-29 10:01:11 -0400
commitbe884598dabcccd96c058b29b2f86766881b3b78 (patch)
treeca8b0aeea259aed5bbf2279b39f7ca6a7fc50fc2 /include
parent2fa5130d461a16c4b979db1e521929876ed14ca7 (diff)
atmel, at91: fix smartweb board
since commit: f8b7fff1d5c5 "serial: atmel_usart: Add clk support" smartweb board comes not up anymore. Fix it. Signed-off-by: Heiko Schocher <hs@denx.de> Acked-by: Wenyou Yang <wenyou.yang@microchip.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/smartweb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/smartweb.h b/include/configs/smartweb.h
index 1236da724e0..84002782094 100644
--- a/include/configs/smartweb.h
+++ b/include/configs/smartweb.h
@@ -211,6 +211,9 @@
#define CONFIG_SYS_INIT_SP_ADDR 0x301000
#define CONFIG_SPL_STACK_R
#define CONFIG_SPL_STACK_R_ADDR CONFIG_SYS_TEXT_BASE
+/* we have only 4k sram in SPL, so cut SYS_MALLOC_F_LEN */
+#undef CONFIG_SYS_MALLOC_F_LEN
+#define CONFIG_SYS_MALLOC_F_LEN 0x400
#else
/*
* Initial stack pointer: 4k - GENERATED_GBL_DATA_SIZE in internal SRAM,