summaryrefslogtreecommitdiff
path: root/include/configs/smdk5250.h
diff options
context:
space:
mode:
authorChander Kashyap <chander.kashyap@linaro.org>2012-02-05 23:01:48 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-02-12 10:11:30 +0100
commit81e352032ccbf00e756083adc70d418a6ea80b14 (patch)
tree6407b97408426da3727004b532b5db3b925b1a7e /include/configs/smdk5250.h
parent0aee53baccd29a3153ba04403ace4159248d95db (diff)
downloadu-boot-imx-81e352032ccbf00e756083adc70d418a6ea80b14.zip
u-boot-imx-81e352032ccbf00e756083adc70d418a6ea80b14.tar.gz
u-boot-imx-81e352032ccbf00e756083adc70d418a6ea80b14.tar.bz2
EXYNOS: SMDK5250: Add MMC SPL support
This patch adds support for MMC SPL booting. Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'include/configs/smdk5250.h')
-rw-r--r--include/configs/smdk5250.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/smdk5250.h b/include/configs/smdk5250.h
index 67e4012..f54d7ac 100644
--- a/include/configs/smdk5250.h
+++ b/include/configs/smdk5250.h
@@ -102,6 +102,10 @@
#define CONFIG_BOOTDELAY 3
#define CONFIG_ZERO_BOOTDELAY_CHECK
+/* MMC SPL */
+#define CONFIG_SPL
+#define COPY_BL2_FNPTR_ADDR 0x02020030
+
#define CONFIG_BOOTCOMMAND "mmc read 40007000 451 2000; bootm 40007000"
/* Miscellaneous configurable options */
@@ -178,6 +182,9 @@
#define CONFIG_BL2_OFFSET (CONFIG_BL1_OFFSET + CONFIG_BL1_SIZE)
#define CONFIG_ENV_OFFSET (CONFIG_BL2_OFFSET + CONFIG_BL2_SIZE)
+/* U-boot copy size from boot Media to DRAM.*/
+#define BL2_START_OFFSET (CONFIG_BL2_OFFSET/512)
+#define BL2_SIZE_BLOC_COUNT (CONFIG_BL2_SIZE/512)
#define CONFIG_DOS_PARTITION
#define CONFIG_IRAM_STACK 0x02050000