summaryrefslogtreecommitdiff
path: root/board/highbank
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2011-12-15 11:15:50 +0000
committerWolfgang Denk <wd@denx.de>2012-01-05 20:10:38 +0100
commit9a420986cccc9bd2c37affd931d627b3c3e72952 (patch)
tree96dd8116a50e35b2d7f9488d77be0bf467fb42be /board/highbank
parentefdd731957caff85db619636a972b7f5404ea9b4 (diff)
downloadu-boot-imx-9a420986cccc9bd2c37affd931d627b3c3e72952.zip
u-boot-imx-9a420986cccc9bd2c37affd931d627b3c3e72952.tar.gz
u-boot-imx-9a420986cccc9bd2c37affd931d627b3c3e72952.tar.bz2
ARM: highbank: enable networking and pxe
This enables the XGMAC ethernet driver and networking related config options. Signed-off-by: Jason Hobbs <jason.hobbs@calxeda.com> Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Diffstat (limited to 'board/highbank')
-rw-r--r--board/highbank/highbank.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/board/highbank/highbank.c b/board/highbank/highbank.c
index 8db8a2b..b0aa182 100644
--- a/board/highbank/highbank.c
+++ b/board/highbank/highbank.c
@@ -33,6 +33,18 @@ int board_init(void)
return 0;
}
+/* We know all the init functions have been run now */
+int board_eth_init(bd_t *bis)
+{
+ int rc = 0;
+
+#ifdef CONFIG_CALXEDA_XGMAC
+ rc += calxedaxgmac_initialize(0, 0xfff50000);
+ rc += calxedaxgmac_initialize(1, 0xfff51000);
+#endif
+ return rc;
+}
+
int misc_init_r(void)
{
ahci_init(0xffe08000);