summaryrefslogtreecommitdiff
path: root/board/synopsys
diff options
context:
space:
mode:
authorAlexey Brodkin <abrodkin@synopsys.com>2015-11-10 19:16:25 +0300
committerAlexey Brodkin <abrodkin@synopsys.com>2015-11-18 00:39:22 +0300
commitfb2dea60e8f355ae00d427db09112a90839c96ec (patch)
tree3d1e605b91438b8b096de5ca0f2d6872a0ae1e41 /board/synopsys
parentdb1f17f894b15402f3d1d43f7d273a42668b8ab4 (diff)
downloadu-boot-imx-fb2dea60e8f355ae00d427db09112a90839c96ec.zip
u-boot-imx-fb2dea60e8f355ae00d427db09112a90839c96ec.tar.gz
u-boot-imx-fb2dea60e8f355ae00d427db09112a90839c96ec.tar.bz2
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 <abrodkin@synopsys.com> Reviewed-by: Simon Glass <sjg@chromium.org> Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'board/synopsys')
-rw-r--r--board/synopsys/axs101/axs101.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/board/synopsys/axs101/axs101.c b/board/synopsys/axs101/axs101.c
index aa446b9..84ee2bf 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)