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>
This commit is contained in:
Wills Wang
2016-05-30 22:54:51 +08:00
committed by Daniel Schwierzeck
parent 375239174c
commit 04583c686e
4 changed files with 16 additions and 4 deletions

View 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;
@@ -46,5 +47,6 @@ int board_early_init_f(void)
debug_uart_init();
#endif
ddr_init();
ath79_eth_reset();
return 0;
}