diff options
| author | Alexey Brodkin <[email protected]> | 2015-11-10 19:16:25 +0300 |
|---|---|---|
| committer | Alexey Brodkin <[email protected]> | 2015-11-18 00:39:22 +0300 |
| commit | fb2dea60e8f355ae00d427db09112a90839c96ec (patch) | |
| tree | 3d1e605b91438b8b096de5ca0f2d6872a0ae1e41 /board | |
| parent | db1f17f894b15402f3d1d43f7d273a42668b8ab4 (diff) | |
board: axs10x switch serial port and Ethernet to driver model
With this change Synopsys DesignWare SDP board is switched to driver
model for both serial port (serial_dw) and Ethernet (Designware GMAC).
This simplifies include/configs/axs101.h and allows for reuse of Linux's
Device Tree description.
For simplicity Linux's .dts files are not blindly copied but only very
few extracts of them are really used (those that are supported in U-Boot
at the moment).
Signed-off-by: Alexey Brodkin <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Cc: Masahiro Yamada <[email protected]>
Diffstat (limited to 'board')
| -rw-r--r-- | board/synopsys/axs101/axs101.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/board/synopsys/axs101/axs101.c b/board/synopsys/axs101/axs101.c index aa446b916ee..84ee2bf43de 100644 --- a/board/synopsys/axs101/axs101.c +++ b/board/synopsys/axs101/axs101.c @@ -7,8 +7,6 @@ #include <common.h> #include <dwmmc.h> #include <malloc.h> -#include <netdev.h> -#include <phy.h> #include "axs10x.h" DECLARE_GLOBAL_DATA_PTR; @@ -35,16 +33,6 @@ int board_mmc_init(bd_t *bis) return 0; } -int board_eth_init(bd_t *bis) -{ - if (designware_initialize(ARC_DWGMAC_BASE, - PHY_INTERFACE_MODE_RGMII) >= 0) - return 1; - - return 0; -} - - #define AXS_MB_CREG 0xE0011000 int board_early_init_f(void) |
