From 22941e8c96c021ed911258cdde68e2f10ecb92c4 Mon Sep 17 00:00:00 2001 From: Philipp Tomsich Date: Mon, 25 Apr 2016 16:02:49 +0200 Subject: ARM: sun9i: increase CONFIG_SPL_MAX_SIZE some older compilers generate less than compact code we thus use 32KB (of 40KB) for SPL --- include/configs/sunxi-common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index 261b3d758b..d750791c76 100644 --- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@ -195,10 +195,11 @@ #if defined(CONFIG_MACH_SUN9I) #define CONFIG_SPL_TEXT_BASE 0x10020 /* sram start+header */ +#define CONFIG_SPL_MAX_SIZE 0x8000 /* 40KB on sun9i, but need to stay below SPL_PAD_TO */ #else #define CONFIG_SPL_TEXT_BASE 0x20 /* sram start+header */ -#endif #define CONFIG_SPL_MAX_SIZE 0x5fe0 /* 24KB on sun4i/sun7i */ +#endif #define CONFIG_SPL_LIBDISK_SUPPORT -- cgit v1.2.3