aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInderpal Singh <inderpal.singh@linaro.org>2012-12-04 10:41:04 +0530
committerTushar Behera <tushar.behera@linaro.org>2013-02-05 10:39:12 +0530
commit443065525e6ee22ac0f3b35e82ceb04e6ff84f86 (patch)
tree3b37dc0bc6f0dc6040b6bc7ebd0ba8412787836f
parenta53e33480dbae1a321762aef32a08cf74cf24316 (diff)
ARNDALE: CONFIG: define function pointers to copy from emmc to RAM
It also defines macros for boot configuration. Signed-off-by: Inderpal Singh <inderpal.singh@linaro.org>
-rw-r--r--include/configs/arndale5250.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/configs/arndale5250.h b/include/configs/arndale5250.h
index 4f43bac56..52ca2d10a 100644
--- a/include/configs/arndale5250.h
+++ b/include/configs/arndale5250.h
@@ -58,6 +58,10 @@
#define MACH_TYPE_SMDK5250 3774
#define CONFIG_MACH_TYPE MACH_TYPE_SMDK5250
+/* Boot configuration */
+#define BOOT_MMCSD 0x3
+#define BOOT_EMMC_4_4 0x7
+
/* Power Down Modes */
#define S5P_CHECK_SLEEP 0x00000BAD
#define S5P_CHECK_DIDLE 0xBAD00000
@@ -66,6 +70,7 @@
/* Offset for inform registers */
#define INFORM0_OFFSET 0x800
#define INFORM1_OFFSET 0x804
+#define INFORM3_OFFSET 0x808
/* Size of malloc() pool */
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (1 << 20))
@@ -119,7 +124,9 @@
/* MMC SPL */
#define CONFIG_SPL
-#define COPY_BL2_FNPTR_ADDR 0x02020030
+#define COPY_BL2_FNPTR_ADDR 0x02020030
+#define COPY_BL2_FNPTR_ADDR_EMMC 0x02020044
+#define COPY_BL2_FNPTR_ADDR_EMMC_DONE 0x02020048
/* specific .lds file */
#define CONFIG_SPL_LDSCRIPT "board/samsung/smdk5250/smdk5250-uboot-spl.lds"