From be884598dabcccd96c058b29b2f86766881b3b78 Mon Sep 17 00:00:00 2001 From: Heiko Schocher Date: Fri, 23 Jun 2017 20:13:59 +0200 Subject: 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 Acked-by: Wenyou Yang --- include/configs/smartweb.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/configs/smartweb.h') diff --git a/include/configs/smartweb.h b/include/configs/smartweb.h index 1236da724e..8400278209 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, -- cgit