diff options
author | Simon Glass <sjg@chromium.org> | 2017-04-05 16:23:38 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-05-09 20:20:37 -0400 |
commit | e6c6d07e2cf049f78b7cff6fc08e80b39a8e89a0 (patch) | |
tree | f539de16062b3c7e90fd28b441408159487b328e /board/raspberrypi | |
parent | c6606515f1aedd716f5cffa454de12601bc2c372 (diff) | |
download | u-boot-midas-e6c6d07e2cf049f78b7cff6fc08e80b39a8e89a0.tar.gz u-boot-midas-e6c6d07e2cf049f78b7cff6fc08e80b39a8e89a0.tar.bz2 u-boot-midas-e6c6d07e2cf049f78b7cff6fc08e80b39a8e89a0.zip |
dm: mmc: rpi: Convert Raspberry Pi to driver model for MMC
Convert the bcm2835 SDHCI driver over to support CONFIG_DM_MMC and move
all boards over. There is no need to keep the old code since there are no
other users.
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/raspberrypi')
-rw-r--r-- | board/raspberrypi/rpi/rpi.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c index 2893f09bc5..1fb7ba05ff 100644 --- a/board/raspberrypi/rpi/rpi.c +++ b/board/raspberrypi/rpi/rpi.c @@ -466,19 +466,6 @@ int board_init(void) return bcm2835_power_on_module(BCM2835_MBOX_POWER_DEVID_USB_HCD); } -int board_mmc_init(bd_t *bis) -{ - int ret; - - bcm2835_power_on_module(BCM2835_MBOX_POWER_DEVID_SDHCI); - - ret = bcm2835_get_mmc_clock(); - if (ret) - return ret; - - return bcm2835_sdhci_init(BCM2835_SDHCI_BASE, ret); -} - int ft_board_setup(void *blob, bd_t *bd) { /* |