From ccf7988b9ace671085a7ae6e7317c6a378c4a309 Mon Sep 17 00:00:00 2001 From: Tom Warren Date: Wed, 21 Sep 2011 12:40:07 +0000 Subject: tegra2: Enable MMC for Seaboard This adds the required GPIO and pinmux configuration to make eMMC / SD work on Seaboard. Signed-off-by: Simon Glass Tested-by: Tom Warren --- board/nvidia/common/board.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'board/nvidia/common/board.c') diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c index 5ba7bda33..d13537d16 100644 --- a/board/nvidia/common/board.c +++ b/board/nvidia/common/board.c @@ -160,6 +160,7 @@ int board_mmc_init(bd_t *bd) /* Enable clocks, muxes, etc. for SDMMC controllers */ clock_init_mmc(); pin_mux_mmc(); + gpio_config_mmc(); debug("board_mmc_init: init eMMC\n"); /* init dev 0, eMMC chip, with 4-bit bus */ @@ -171,18 +172,6 @@ int board_mmc_init(bd_t *bd) return 0; } - -/* this is a weak define that we are overriding */ -int board_mmc_getcd(u8 *cd, struct mmc *mmc) -{ - debug("board_mmc_getcd called\n"); - /* - * Hard-code CD presence for now. Need to add GPIO inputs - * for Seaboard & Harmony (& Kaen/Aebl/Wario?) - */ - *cd = 1; - return 0; -} #endif #ifdef CONFIG_BOARD_EARLY_INIT_F -- cgit v1.2.3-70-g09d2