]> git.sur5r.net Git - u-boot/commitdiff
mips: ath79: ap143: Reset ethernet on boot
authorWills Wang <wills.wang@live.com>
Mon, 30 May 2016 14:54:55 +0000 (22:54 +0800)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Tue, 31 May 2016 08:17:54 +0000 (10:17 +0200)
This patch reset the ethernet controller for ap143 board

Signed-off-by: Wills Wang <wills.wang@live.com>
board/qca/ap143/ap143.c

index 1572472ca3059eb568aa9455de24e69fb2b4895c..e921ea53f340c73d61c9795b58e5946b7bbbfa9b 100644 (file)
@@ -10,6 +10,7 @@
 #include <asm/types.h>
 #include <mach/ar71xx_regs.h>
 #include <mach/ddr.h>
+#include <mach/ath79.h>
 #include <debug_uart.h>
 
 DECLARE_GLOBAL_DATA_PTR;
@@ -62,5 +63,6 @@ int board_early_init_f(void)
        debug_uart_init();
 #endif
        ddr_init();
+       ath79_eth_reset();
        return 0;
 }