summaryrefslogtreecommitdiff
path: root/include/configs/origen.h
diff options
context:
space:
mode:
authorChander Kashyap <chander.kashyap@linaro.org>2011-08-18 22:37:20 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-09-04 11:36:16 +0200
commit98a48c5de545e5a5eedba0a868024ef0d4ae5347 (patch)
treeaa90ed0dd8651582fd46a0aae248e48f8418140a /include/configs/origen.h
parentb9a1ef219e12c08b2af695dd5355d6352b8ffc08 (diff)
downloadu-boot-imx-98a48c5de545e5a5eedba0a868024ef0d4ae5347.zip
u-boot-imx-98a48c5de545e5a5eedba0a868024ef0d4ae5347.tar.gz
u-boot-imx-98a48c5de545e5a5eedba0a868024ef0d4ae5347.tar.bz2
ORIGEN: Add MMC SPL support
Adds mmc boot support. Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'include/configs/origen.h')
-rw-r--r--include/configs/origen.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/configs/origen.h b/include/configs/origen.h
index e8252cc..889d5fc 100644
--- a/include/configs/origen.h
+++ b/include/configs/origen.h
@@ -94,6 +94,9 @@
#define CONFIG_BOOTDELAY 3
#define CONFIG_ZERO_BOOTDELAY_CHECK
+/* MMC SPL */
+#define CONFIG_SPL
+#define COPY_BL2_FNPTR_ADDR 0x02020030
#define CONFIG_BOOTCOMMAND "fatload mmc 0 40007000 uImage; bootm 40007000"
@@ -157,4 +160,9 @@
#define CONFIG_DOS_PARTITION 1
#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_LOAD_ADDR - GENERATED_GBL_DATA_SIZE)
+
+/* U-boot copy size from boot Media to DRAM.*/
+#define COPY_BL2_SIZE 0x80000
+#define BL2_START_OFFSET ((CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE)/512)
+#define BL2_SIZE_BLOC_COUNT (COPY_BL2_SIZE/512)
#endif /* __CONFIG_H */