diff options
author | Piotr Wilczek <p.wilczek@samsung.com> | 2014-03-07 14:59:41 +0100 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2014-03-12 19:54:59 +0900 |
commit | 3577fe8be9dc8c8aa027361d6424efba9f97f553 (patch) | |
tree | 7591836e077264433d8cfd9eac38680a89fbe63e /arch/arm | |
parent | 1591ee73526ba4085cec7cc5bb83b2ece0f6706e (diff) | |
download | u-boot-imx-3577fe8be9dc8c8aa027361d6424efba9f97f553.zip u-boot-imx-3577fe8be9dc8c8aa027361d6424efba9f97f553.tar.gz u-boot-imx-3577fe8be9dc8c8aa027361d6424efba9f97f553.tar.bz2 |
drivers:mmc:sdhci: enable support for DT
This patch enables support for device tree for sdhci driver.
Non DT case is still supported.
Signed-off-by: Piotr Wilczek <p.wilczek@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/include/asm/arch-exynos/mmc.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-exynos/mmc.h b/arch/arm/include/asm/arch-exynos/mmc.h index 98d6530..0fb6461 100644 --- a/arch/arm/include/asm/arch-exynos/mmc.h +++ b/arch/arm/include/asm/arch-exynos/mmc.h @@ -53,6 +53,8 @@ #define SDHCI_CTRL4_DRIVE_MASK(_x) ((_x) << 16) #define SDHCI_CTRL4_DRIVE_SHIFT (16) +#define SDHCI_MAX_HOSTS 4 + int s5p_sdhci_init(u32 regbase, int index, int bus_width); static inline int s5p_mmc_init(int index, int bus_width) @@ -62,4 +64,9 @@ static inline int s5p_mmc_init(int index, int bus_width) return s5p_sdhci_init(base, index, bus_width); } + +#ifdef CONFIG_OF_CONTROL +int exynos_mmc_init(const void *blob); +#endif + #endif |