Exynos5: Config: Increase SPL footprint for Exynos5420
authorAkshay Saraswat <akshay.s@samsung.com>
Wed, 18 Jun 2014 12:24:00 +0000 (17:54 +0530)
committerMinkyu Kang <mk7.kang@samsung.com>
Sun, 22 Jun 2014 23:45:44 +0000 (08:45 +0900)
Max footprint for SPL in both Exynos 5250 and 5420 is limited to 14 KB.
For Exynos5250 we need to keep it 14 KB because BL1 supports only fixed
size SPL downloading. But in case of Exynos5420 we need not restrict it
to 14 KB. And also, the SPL size for Exynos5420 is expected to increase
with the upcoming patches and the patches under review right now.

Signed-off-by: Akshay Saraswat <akshay.s@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
include/configs/exynos5-dt.h
include/configs/exynos5250-dt.h
include/configs/exynos5420.h

index d9f562534eb0627b70e237585542437cbaf7c966..1129f59613144630c50b8a2f07edcad1dea37018 100644 (file)
 
 /* specific .lds file */
 #define CONFIG_SPL_LDSCRIPT    "board/samsung/common/exynos-uboot-spl.lds"
-#define CONFIG_SPL_MAX_FOOTPRINT       (14 * 1024)
-
 
 /* Miscellaneous configurable options */
 #define CONFIG_SYS_LONGHELP            /* undef to save memory */
index 9d1d56a53b4e7bfb76729f5d6395d03a238b5987..4cfbf25b0dba048af8b5ef119a4a0a9195d1bfaa 100644 (file)
@@ -20,6 +20,8 @@
 #define MACH_TYPE_SMDK5250             3774
 #define CONFIG_MACH_TYPE               MACH_TYPE_SMDK5250
 
+#define CONFIG_SPL_MAX_FOOTPRINT       (14 * 1024)
+
 /* USB */
 #define CONFIG_CMD_USB
 #define CONFIG_USB_XHCI
index 3a28bbcf25bcfdd2df40f67fd8eb476dfc396c0d..2ffe5ee5cfdbae2251dd06d3e6c35e78d4993477 100644 (file)
@@ -25,6 +25,8 @@
 #endif
 #define CONFIG_IRAM_TOP                        0x02074000
 
+#define CONFIG_SPL_MAX_FOOTPRINT       (30 * 1024)
+
 #define CONFIG_DEVICE_TREE_LIST "exynos5420-peach-pit exynos5420-smdk5420"
 
 #define CONFIG_MAX_I2C_NUM     11