ARM: am3517-evm: Remove non-DM legacy code
PATCH 1/1 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]>
board/logicpd/am3517evm/am3517evm.c +0 -11
@@ -116,11 +116,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 ();
@@ -144,12 +139,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)
Signature · 1 line
2.17.1
PATCH 1/1 ARM: am3517-evm: Remove non-DM legacy code
board/logicpd/am3517evm/am3517evm.c
Quoted 9 lines · Adam Ford
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]>board/logicpd/am3517evm/am3517evm.c +0
-0
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190728/e76adfa0/attachment.sig>