summaryrefslogtreecommitdiff
path: root/board/synopsys/emsdp
diff options
context:
space:
mode:
authorAlexey Brodkin <abrodkin@synopsys.com>2019-10-08 13:24:29 +0300
committerAlexey Brodkin <abrodkin@synopsys.com>2019-11-01 16:45:40 +0300
commit0da32633ab8fc9c71e994eb4aee3d9ba4395d9b6 (patch)
tree0f40bf7fbe65e565547004d6d78eeb2416d8d7b1 /board/synopsys/emsdp
parent9f353ad88a92815958505c54388b5783f46d9d67 (diff)
downloadu-boot-0da32633ab8fc9c71e994eb4aee3d9ba4395d9b6.tar.gz
arc: emsdp/iotdk: Switch to DM_MMC
Somehow EMSDP & IoT DK boards were skipped on ARC boads conversion to DM MMC. So doing it now. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Diffstat (limited to 'board/synopsys/emsdp')
-rw-r--r--board/synopsys/emsdp/emsdp.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/board/synopsys/emsdp/emsdp.c b/board/synopsys/emsdp/emsdp.c
index 7a3fd5b7f2..5ba9f862e1 100644
--- a/board/synopsys/emsdp/emsdp.c
+++ b/board/synopsys/emsdp/emsdp.c
@@ -85,35 +85,6 @@ int board_early_init_r(void)
return 0;
}
-int board_mmc_init(bd_t *bis)
-{
- struct dwmci_host *host = NULL;
-
- host = malloc(sizeof(struct dwmci_host));
- if (!host) {
- printf("dwmci_host malloc fail!\n");
- return 1;
- }
-
- memset(host, 0, sizeof(struct dwmci_host));
- host->name = "Synopsys Mobile storage";
- host->ioaddr = SDIO_BASE;
- host->buswidth = 4;
- host->dev_index = 0;
- host->bus_hz = 50000000;
-
- add_dwmci(host, host->bus_hz / 2, 400000);
-
- return 0;
-}
-
-int board_mmc_getcd(struct mmc *mmc)
-{
- struct dwmci_host *host = mmc->priv;
-
- return !(dwmci_readl(host, DWMCI_CDETECT) & 1);
-}
-
#define CREG_BASE 0xF0001000
#define CREG_BOOT (void *)(CREG_BASE + 0x0FF0)
#define CREG_IP_SW_RESET (void *)(CREG_BASE + 0x0FF0)