summaryrefslogtreecommitdiffstats
path: root/board
diff options
context:
space:
mode:
authorWills Wang <wills.wang@live.com>2016-05-30 22:54:55 +0800
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2016-05-31 10:17:54 +0200
commitf1b65c98b0a134ce92c38141b917fd3a210ee535 (patch)
tree8f41606beafceb830d56ba6acb588cc11e15336c /board
parentca09e66b04cd2b80f95d5acc1cc7f61487034faf (diff)
downloadblackbird-obmc-uboot-f1b65c98b0a134ce92c38141b917fd3a210ee535.tar.gz
blackbird-obmc-uboot-f1b65c98b0a134ce92c38141b917fd3a210ee535.zip
mips: ath79: ap143: Reset ethernet on boot
This patch reset the ethernet controller for ap143 board Signed-off-by: Wills Wang <wills.wang@live.com>
Diffstat (limited to 'board')
-rw-r--r--board/qca/ap143/ap143.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/qca/ap143/ap143.c b/board/qca/ap143/ap143.c
index 1572472ca3..e921ea53f3 100644
--- a/board/qca/ap143/ap143.c
+++ b/board/qca/ap143/ap143.c
@@ -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;
}
OpenPOWER on IntegriCloud