diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2019-01-17 12:09:52 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-01-25 12:12:57 -0500 |
commit | 7fa6d336840ad92134b6c4d3304acc77edcc6851 (patch) | |
tree | a259a7ec0af8b1eb5cc6df2c81bedc43a949273e /board | |
parent | 94f139a9ce649fb5b569181b2e4fcc927b5370c2 (diff) | |
download | u-boot-7fa6d336840ad92134b6c4d3304acc77edcc6851.tar.gz u-boot-7fa6d336840ad92134b6c4d3304acc77edcc6851.tar.xz u-boot-7fa6d336840ad92134b6c4d3304acc77edcc6851.zip |
poplar: clean up board level mmc initialization code
We have converted mmc to driver model on Poplar. So let's clean up
board level mmc initialization code.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/hisilicon/poplar/poplar.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/board/hisilicon/poplar/poplar.c b/board/hisilicon/poplar/poplar.c index 155dfbb401..77948445e2 100644 --- a/board/hisilicon/poplar/poplar.c +++ b/board/hisilicon/poplar/poplar.c @@ -9,7 +9,6 @@ #include <asm/io.h> #include <dm/platform_data/serial_pl01x.h> #include <asm/arch/hi3798cv200.h> -#include <asm/arch/dwmmc.h> #include <asm/armv8/mmu.h> DECLARE_GLOBAL_DATA_PTR; @@ -155,17 +154,6 @@ static void usb2_phy_init(void) udelay(200); } -int board_mmc_init(bd_t *bis) -{ - int ret; - - ret = hi6220_dwmci_add_port(0, REG_BASE_MCI, 8); - if (ret) - printf("mmc init error (%d)\n", ret); - - return ret; -} - #if defined(CONFIG_USB_GADGET) && defined(CONFIG_USB_GADGET_DWC2_OTG) #include <usb.h> #include <usb/dwc2_udc.h> |