diff options
| author | Adam Ford <[email protected]> | 2019-06-25 14:14:08 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2019-07-26 22:24:13 -0400 |
| commit | 67a4df9dafcc03d31a5c2a6c3911809d9ad1a221 (patch) | |
| tree | 4b90d6bc3cc51a783502fb59840f840f15be10b6 | |
| parent | 9eed1ca15b84202e1edf086ebe8c3584d711ed2e (diff) | |
ARM: am3517-evm: Remove non-DM legacy code
With both SPL and U-Boot now supporting DM, we can start removing
legacy code. This patch removes the legacy MMC initalization and
legacy I2C initialization since both are now available via DM and
device tree.
Signed-off-by: Adam Ford <[email protected]>
| -rw-r--r-- | board/logicpd/am3517evm/am3517evm.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/board/logicpd/am3517evm/am3517evm.c b/board/logicpd/am3517evm/am3517evm.c index 215387825e6..95c4cfc75d3 100644 --- a/board/logicpd/am3517evm/am3517evm.c +++ b/board/logicpd/am3517evm/am3517evm.c @@ -115,11 +115,6 @@ int misc_init_r(void) { u32 reset; -#if !defined(CONFIG_DM_I2C) -#ifdef CONFIG_SYS_I2C_OMAP24XX - i2c_init(CONFIG_SYS_OMAP24_I2C_SPEED, CONFIG_SYS_OMAP24_I2C_SLAVE); -#endif -#endif omap_die_id_display(); am3517_evm_musb_init(); @@ -143,12 +138,6 @@ void set_muxconf_regs(void) MUX_AM3517EVM(); } -#if defined(CONFIG_MMC) -int board_mmc_init(bd_t *bis) -{ - return omap_mmc_init(0, 0, 0, -1, -1); -} -#endif #if defined(CONFIG_USB_ETHER) && defined(CONFIG_USB_MUSB_GADGET) int board_eth_init(bd_t *bis) |
