diff mbox

[4/4] EXYNOS5: Enable support for MSHCI

Message ID 1337946798-1660-5-git-send-email-rajeshwari.s@samsung.com
State New
Headers show

Commit Message

Rajeshwari Shinde May 25, 2012, 11:53 a.m. UTC
This patchs enables MSHCI driver for EXYNOS5.

Signed-off-by: Terry Lambert <tlambert@chromium.org>
Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
---
This patch is based on:
	"PMIC: SMDK5250: Enable MAX77686 pmic chip"
 board/samsung/smdk5250/smdk5250.c |    3 +++
 include/configs/smdk5250.h        |    1 +
 2 files changed, 4 insertions(+), 0 deletions(-)

Comments

Simon Glass June 1, 2012, 1:34 a.m. UTC | #1
On Fri, May 25, 2012 at 4:53 AM, Rajeshwari Shinde <rajeshwari.s@samsung.com
> wrote:

> This patchs enables MSHCI driver for EXYNOS5.
>
> Signed-off-by: Terry Lambert <tlambert@chromium.org>
> Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
>

Acked-by: Simon Glass <sjg@chromium.org>


> ---
> This patch is based on:
>        "PMIC: SMDK5250: Enable MAX77686 pmic chip"
>  board/samsung/smdk5250/smdk5250.c |    3 +++
>  include/configs/smdk5250.h        |    1 +
>  2 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/board/samsung/smdk5250/smdk5250.c
> b/board/samsung/smdk5250/smdk5250.c
> index 58763fd..3d7a3ed 100644
> --- a/board/samsung/smdk5250/smdk5250.c
> +++ b/board/samsung/smdk5250/smdk5250.c
> @@ -137,6 +137,9 @@ int board_mmc_init(bd_t *bis)
>        }
>
>        err = s5p_mmc_init(2, 4);
> +
> +       err = exynos_mshci_init(PERIPH_ID_SDMMC4, 8);
> +
>        return err;
>  }
>  #endif
> diff --git a/include/configs/smdk5250.h b/include/configs/smdk5250.h
> index 05729e6..8355695 100644
> --- a/include/configs/smdk5250.h
> +++ b/include/configs/smdk5250.h
> @@ -79,6 +79,7 @@
>  #define CONFIG_GENERIC_MMC
>  #define CONFIG_MMC
>  #define CONFIG_S5P_MMC
> +#define CONFIG_EXYNOS_MSHCI
>
>  #define CONFIG_BOARD_EARLY_INIT_F
>
> --
> 1.7.4.4
>
>
diff mbox

Patch

diff --git a/board/samsung/smdk5250/smdk5250.c b/board/samsung/smdk5250/smdk5250.c
index 58763fd..3d7a3ed 100644
--- a/board/samsung/smdk5250/smdk5250.c
+++ b/board/samsung/smdk5250/smdk5250.c
@@ -137,6 +137,9 @@  int board_mmc_init(bd_t *bis)
 	}
 
 	err = s5p_mmc_init(2, 4);
+
+	err = exynos_mshci_init(PERIPH_ID_SDMMC4, 8);
+
 	return err;
 }
 #endif
diff --git a/include/configs/smdk5250.h b/include/configs/smdk5250.h
index 05729e6..8355695 100644
--- a/include/configs/smdk5250.h
+++ b/include/configs/smdk5250.h
@@ -79,6 +79,7 @@ 
 #define CONFIG_GENERIC_MMC
 #define CONFIG_MMC
 #define CONFIG_S5P_MMC
+#define CONFIG_EXYNOS_MSHCI
 
 #define CONFIG_BOARD_EARLY_INIT_F