summaryrefslogtreecommitdiff
path: root/include/configs/salvator-x.h
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2017-05-13 13:57:46 (GMT)
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2017-05-21 19:38:27 (GMT)
commit50fb0c451f8219d26612451933c7905457459bc4 (patch)
treeef232ae1e6e20accd8c31f027b838b2ef1e67ba5 /include/configs/salvator-x.h
parent8474681c3eb37f65c08eb9080cef817c38ee60c4 (diff)
downloadu-boot-50fb0c451f8219d26612451933c7905457459bc4.tar.xz
ARM: rmobile: salvator-x: Add SD support
Add support for the SD card slots on the Salvator-X board. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'include/configs/salvator-x.h')
-rw-r--r--include/configs/salvator-x.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/configs/salvator-x.h b/include/configs/salvator-x.h
index 94f62a7..91307eb 100644
--- a/include/configs/salvator-x.h
+++ b/include/configs/salvator-x.h
@@ -24,7 +24,6 @@
/* [A] Hyper Flash */
/* use to RPC(SPI Multi I/O Bus Controller) */
-#define CONFIG_ENV_IS_NOWHERE
/* Board Clock */
/* XTAL_CLK : 33.33MHz */
@@ -45,6 +44,15 @@
#define GICD_BASE 0xF1010000
#define GICC_BASE 0xF1020000
+/* SDHI */
+#define CONFIG_SH_SDHI_FREQ 200000000
+
+/* Environment in eMMC, at the end of 2nd "boot sector" */
+#define CONFIG_ENV_IS_IN_MMC
+#define CONFIG_ENV_OFFSET (-CONFIG_ENV_SIZE)
+#define CONFIG_SYS_MMC_ENV_DEV 1
+#define CONFIG_SYS_MMC_ENV_PART 2
+
/* Module stop status bits */
/* MFIS, SCIF1 */
#define CONFIG_SMSTP2_ENA 0x00002040