1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 16:52:14 +02:00

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>
This commit is contained in:
Jiandong Zheng
2015-07-15 16:28:14 -07:00
committed by Tom Rini
parent 3b5df50ec0
commit 39d0ce0659
2 changed files with 22 additions and 0 deletions

View File

@@ -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