summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/configs/sunxi-common.h3
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