aboutsummaryrefslogtreecommitdiff
path: root/board
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
parent375239174c6bc6a9966db333fa79f578154828f5 (diff)
downloadu-boot-04583c686e61e6883158549603d60741ebf249fe.zip
u-boot-04583c686e61e6883158549603d60741ebf249fe.tar.gz
u-boot-04583c686e61e6883158549603d60741ebf249fe.tar.bz2
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')
-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 d6c60fe..e245faa 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;
}