mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 12:56:00 +01:00
ARM: am3517-evm: Remove more non-DM legacy ethernet reset code
The ethernet controller is DM compliant, and the device tree defines it. There is no need to manually handle pulling the ethernet out of reset. Signed-off-by: Adam Ford <aford173@gmail.com> Tested-by: Derald D. Woods <woods.technical@gmail.com>
This commit is contained in:
parent
019548efb0
commit
b2356be87d
@ -117,17 +117,10 @@ static void am3517_evm_musb_init(void)
|
|||||||
*/
|
*/
|
||||||
int misc_init_r(void)
|
int misc_init_r(void)
|
||||||
{
|
{
|
||||||
u32 reset;
|
|
||||||
|
|
||||||
omap_die_id_display();
|
omap_die_id_display();
|
||||||
|
|
||||||
am3517_evm_musb_init();
|
am3517_evm_musb_init();
|
||||||
|
|
||||||
/* ensure that the Ethernet module is out of reset */
|
|
||||||
reset = readl(AM3517_IP_SW_RESET);
|
|
||||||
reset &= (~CPGMACSS_SW_RST);
|
|
||||||
writel(reset, AM3517_IP_SW_RESET);
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -142,7 +135,6 @@ void set_muxconf_regs(void)
|
|||||||
MUX_AM3517EVM();
|
MUX_AM3517EVM();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#if defined(CONFIG_USB_ETHER) && defined(CONFIG_USB_MUSB_GADGET)
|
#if defined(CONFIG_USB_ETHER) && defined(CONFIG_USB_MUSB_GADGET)
|
||||||
int board_eth_init(struct bd_info *bis)
|
int board_eth_init(struct bd_info *bis)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user