summaryrefslogtreecommitdiff
path: root/include/configs/smartweb.h
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2017-06-23 18:13:59 (GMT)
committerTom Rini <trini@konsulko.com>2017-06-29 14:01:11 (GMT)
commitbe884598dabcccd96c058b29b2f86766881b3b78 (patch)
treeca8b0aeea259aed5bbf2279b39f7ca6a7fc50fc2 /include/configs/smartweb.h
parent2fa5130d461a16c4b979db1e521929876ed14ca7 (diff)
downloadu-boot-be884598dabcccd96c058b29b2f86766881b3b78.tar.xz
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/configs/smartweb.h')
-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 1236da7..8400278 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,