diff options
author | Jiandong Zheng <jdzheng@broadcom.com> | 2015-07-15 23:28:14 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-08-13 00:47:28 (GMT) |
commit | 39d0ce06599c73e6e5b8d8c43c64e5272694cbbc (patch) | |
tree | 64c4afa292065d215dadd0f685c977ffff06f1fd /board | |
parent | 3b5df50ec02efbef84cff05d279bd734c020996f (diff) | |
download | u-boot-39d0ce06599c73e6e5b8d8c43c64e5272694cbbc.tar.xz |
arm: bcmcygnus: Enable Ethernet support
Enable BCM SF2 ethernet and PHY for BCM Cygnus SoC
Signed-off-by: Jiandong Zheng <jdzheng@broadcom.com>
Signed-off-by: Steve Rae <srae@broadcom.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/broadcom/bcm_ep/board.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/board/broadcom/bcm_ep/board.c b/board/broadcom/bcm_ep/board.c index eaad0b3..c28b203 100644 --- a/board/broadcom/bcm_ep/board.c +++ b/board/broadcom/bcm_ep/board.c @@ -7,6 +7,7 @@ #include <common.h> #include <asm/io.h> #include <config.h> +#include <netdev.h> #include <asm/system.h> #include <asm/iproc-common/armpll.h> @@ -67,3 +68,13 @@ void smp_waitloop(unsigned previous_address) { } #endif + +#ifdef CONFIG_BCM_SF2_ETH +int board_eth_init(bd_t *bis) +{ + int rc = -1; + printf("Registering BCM sf2 eth\n"); + rc = bcm_sf2_eth_register(bis, 0); + return rc; +} +#endif |