diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2017-05-13 15:57:46 +0200 |
---|---|---|
committer | Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | 2017-05-22 04:38:27 +0900 |
commit | 50fb0c451f8219d26612451933c7905457459bc4 (patch) | |
tree | ef232ae1e6e20accd8c31f027b838b2ef1e67ba5 /include/configs/salvator-x.h | |
parent | 8474681c3eb37f65c08eb9080cef817c38ee60c4 (diff) |
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.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/configs/salvator-x.h b/include/configs/salvator-x.h index 94f62a7358..91307eb353 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 |