Skip to content
Snippets Groups Projects
Commit f1b65c98 authored by Wills Wang's avatar Wills Wang Committed by Daniel Schwierzeck
Browse files

mips: ath79: ap143: Reset ethernet on boot


This patch reset the ethernet controller for ap143 board

Signed-off-by: default avatarWills Wang <wills.wang@live.com>
parent ca09e66b
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
#include <asm/types.h> #include <asm/types.h>
#include <mach/ar71xx_regs.h> #include <mach/ar71xx_regs.h>
#include <mach/ddr.h> #include <mach/ddr.h>
#include <mach/ath79.h>
#include <debug_uart.h> #include <debug_uart.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;
...@@ -62,5 +63,6 @@ int board_early_init_f(void) ...@@ -62,5 +63,6 @@ int board_early_init_f(void)
debug_uart_init(); debug_uart_init();
#endif #endif
ddr_init(); ddr_init();
ath79_eth_reset();
return 0; return 0;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment