diff options
author | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | 2016-04-25 16:02:49 +0200 |
---|---|---|
committer | Klaus Goger <klaus.goger@theobroma-systems.com> | 2016-09-18 13:45:15 +0200 |
commit | 22941e8c96c021ed911258cdde68e2f10ecb92c4 (patch) | |
tree | 4214734de38dc2f78bb8438e28370e0ffe7415a9 /include/configs/sunxi-common.h | |
parent | 4826f35b307cd807842ae99759246b8accd6e55b (diff) |
ARM: sun9i: increase CONFIG_SPL_MAX_SIZE
some older compilers generate less than compact code
we thus use 32KB (of 40KB) for SPL
Diffstat (limited to 'include/configs/sunxi-common.h')
-rw-r--r-- | include/configs/sunxi-common.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 |