mirror of
https://xff.cz/git/u-boot/
synced 2025-09-03 09:42:22 +02:00
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>
This commit is contained in:
@@ -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)
|
||||
{
|
||||
/*
|
||||
|
Reference in New Issue
Block a user