summaryrefslogtreecommitdiffstats
path: root/board/qca
diff options
context:
space:
mode:
authorWills Wang <wills.wang@live.com>2016-05-30 22:54:51 +0800
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2016-05-31 10:17:54 +0200
commit04583c686e61e6883158549603d60741ebf249fe (patch)
treeca090c41e74ba31564686bba6baa95d3152941b8 /board/qca
parent375239174c6bc6a9966db333fa79f578154828f5 (diff)
downloadblackbird-obmc-uboot-04583c686e61e6883158549603d60741ebf249fe.tar.gz
blackbird-obmc-uboot-04583c686e61e6883158549603d60741ebf249fe.zip
mips: ath79: ap121: Enable ethernet
This patch enable network function for ap121 board. Signed-off-by: Wills Wang <wills.wang@live.com> Acked-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'board/qca')
-rw-r--r--board/qca/ap121/ap121.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/qca/ap121/ap121.c b/board/qca/ap121/ap121.c
index d6c60fea86..e245faa5cf 100644
--- a/board/qca/ap121/ap121.c
+++ b/board/qca/ap121/ap121.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;
@@ -46,5 +47,6 @@ int board_early_init_f(void)
debug_uart_init();
#endif
ddr_init();
+ ath79_eth_reset();
return 0;
}
OpenPOWER on IntegriCloud