From: Rafał Miłecki Date: Tue, 22 Feb 2022 10:00:05 +0000 (+0100) Subject: Add Broadcom / Netgear changes from RAXE 1.0.1.52 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b29a79828c98d1f9c0acf896926dcac059b75988;p=project%2Fbcm63xx%2Fu-boot.git Add Broadcom / Netgear changes from RAXE 1.0.1.52 U-Boot changes from RAXE500-V1.0.1.52_GPL.tar.gz Signed-off-by: Rafał Miłecki --- diff --git a/drivers/net/bcmbca/bcm_ethsw_impl1.c b/drivers/net/bcmbca/bcm_ethsw_impl1.c index 9254d43ed1..4a7951f6c2 100755 --- a/drivers/net/bcmbca/bcm_ethsw_impl1.c +++ b/drivers/net/bcmbca/bcm_ethsw_impl1.c @@ -165,7 +165,8 @@ static void bcm_ethsw_open(struct udevice *dev) /* Enable MAC port Tx/Rx for CFE local traffic */ printk ("Enable Switch MAC Port Rx/Tx, set PBVLAN to FAN out, set switch to NO-STP. offset_jump = %d\n", offset_jump); - for( i = 0; i < BP_MAX_SWITCH_PORTS; i++ ) + //for( i = 0; i < BP_MAX_SWITCH_PORTS; i++ ) + for( i = 0; i < 4; i++ ) /* Foxconn modified, not to enable WAN port at uboot. */ { /* Set Port VLAN to allow CPU traffic only */ ETHSW_CORE->port_vlan_ctrl[offset_jump*i] = PBMAP_MIPS;