Commit 67a4df9dafcc03d31a5c2a6c3911809d9ad1a221
Committed by
Tom Rini
1 parent
9eed1ca15b
Exists in
smarc_8mq_lf_v2020.04
and in
9 other branches
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 <aford173@gmail.com>
Showing 1 changed file with 0 additions and 11 deletions Side-by-side Diff
board/logicpd/am3517evm/am3517evm.c
... | ... | @@ -115,11 +115,6 @@ |
115 | 115 | { |
116 | 116 | u32 reset; |
117 | 117 | |
118 | -#if !defined(CONFIG_DM_I2C) | |
119 | -#ifdef CONFIG_SYS_I2C_OMAP24XX | |
120 | - i2c_init(CONFIG_SYS_OMAP24_I2C_SPEED, CONFIG_SYS_OMAP24_I2C_SLAVE); | |
121 | -#endif | |
122 | -#endif | |
123 | 118 | omap_die_id_display(); |
124 | 119 | |
125 | 120 | am3517_evm_musb_init(); |
... | ... | @@ -143,12 +138,6 @@ |
143 | 138 | MUX_AM3517EVM(); |
144 | 139 | } |
145 | 140 | |
146 | -#if defined(CONFIG_MMC) | |
147 | -int board_mmc_init(bd_t *bis) | |
148 | -{ | |
149 | - return omap_mmc_init(0, 0, 0, -1, -1); | |
150 | -} | |
151 | -#endif | |
152 | 141 | |
153 | 142 | #if defined(CONFIG_USB_ETHER) && defined(CONFIG_USB_MUSB_GADGET) |
154 | 143 | int board_eth_init(bd_t *bis) |