d-off-by: Codrin Ciubotariu
Change-Id: Ic5e353da24f8fec335e446098ed863991a64
---
drivers/net/phy/realtek.c | 18 +-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/drivers/net/phy/realtek.c b/drivers/net/phy/realtek.c
index a3ace68..ee97079 100644
--- a/drivers/ne
T1040rdb has 2 VSC8514 quad PHYs attached to 8 ports from a
layer 2 switch. The PHYs Serdes Auto-negotiation must be enabled
in order to have link between internal PHYs and external PHYs.
Signed-off-by: Codrin Ciubotariu
Cc: York Sun
---
board/freescale/t104xrdb/eth.c | 115
T1040RDB and T1040QDS boards have an integrated l2 switch.
The switch needs a MAC address for Layer 2 protocols
(MSTP, LLDP, LACP, etc). Setting a MAC address on l2switchaddr will add
a MAC in device-tree, under node l2switch.
Signed-off-by: Codrin Ciubotariu
Cc: York Sun
---
arch/powerpc/cpu
In the current Datasheet for VSC8514 there is a mistake, saying that
the PHY id is 0x70570. The real value in the identifier registers is
0x70670. Linux PHY driver uses 0x70670 also.
Signed-off-by: Codrin Ciubotariu
Cc: York Sun
---
drivers/net/phy/vitesse.c | 2 +-
1 file changed, 1 insertion
T1040RDB and T1040QDS boards have an integrated l2 switch.
The switch needs a MAC address for Layer 2 protocols
(MSTP, LLDP, LACP, etc). Setting a MAC address on l2switchaddr will add
a MAC in device-tree, under node l2switch.
Signed-off-by: Codrin Ciubotariu
Cc: York Sun
---
Changes v2
This patch enables L2 Switch support for board T104xRDB by defining
CONFIG_VSC9953(_CMD) and the addresses for QSGMII Ethernet PHYs.
This patch depends on patch:
mpc85xx/T104xD4RDB: Add T104xD4RDB boards support
Signed-off-by: Codrin Ciubotariu
---
include/configs/T104xRDB.h | 7 ++-
1
Signed-off-by: Codrin Ciubotariu
---
Changes for v3:
- none; new patch;
drivers/net/vsc9953.c | 38 +++---
include/vsc9953.h | 46 +++---
2 files changed, 42 insertions(+), 42 deletions(-)
diff --git a/drivers
The new bitfield value must not be higher than its mask.
Signed-off-by: Codrin Ciubotariu
---
include/bitfield.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/bitfield.h b/include/bitfield.h
index cffaf7a..a59f3c2 100644
--- a/include/bitfield.h
+++ b/include
by replacing out_le32()
with setbits_le32().
Signed-off-by: Codrin Ciubotariu
---
Dhanges for v3:
- none; new patch;
drivers/net/vsc9953.c | 4 ++--
include/vsc9953.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/vsc9953.c b/drivers/net/vsc9953.c
This patch groups some macros defined for registers and
replaces some magic numbers from vsc9953 with macros. Also,
"port" and "port_nr" words are replaced with "port_no",
puts each variable declaration on a line and removes
unnecessary tabs.
Signed-off-by: Codrin C
These new operations allow manipulation of bitfields
within a word by using a mask instead of width and
shift values to extract/replace the bitfields.
Signed-off-by: Codrin Ciubotariu
---
Changes for v3:
- none; new patch;
include/bitfield.h | 32
1
The VSC9953 DS reserves a register between vlan_mask and anag_efil
registers.
Signed-off-by: Johnson Leung
Signed-off-by: Codrin Ciubotariu
---
Changes for v2:
- removed Change-id field;
Changes for v3:
- added signature;
include/vsc9953.h | 1 +
1 file changed, 1 insertion
apply the command on a port
or on all ports. For now, the defined commands are:
ethsw [port ] { enable | disable | show }
Signed-off-by: Codrin Ciubotariu
---
Changes for v3:
- parser removed from previous patch:
"drivers/net/vsc9953: Refractor the parser for V
should add a VLAN tag if the
frame is classified to a different VLAN than the port's
Port-based VLAN;
Signed-off-by: Johnson Leung
Signed-off-by: Codrin Ciubotariu
---
Changes for v2:
- removed Change-id field;
Changes for v3:
- moved the copyright update in the
This patch replaces the parser used by VSC9953 L2 Switch driver with
the generic one. Also, the config macro that enables the
VSC9953 commands has been replaced in all the platforms that
use this driver with the config macro that corresponds to the
generic parser.
Signed-off-by: Codrin Ciubotariu
The new added command:
ethsw [port ] statistics { [help] | [clear] }
will print counters like the number of Rx/Tx frames,
number of Rx/Tx bytes, number of Rx/Tx unicast frames, etc.
This patch also adds this commnd in the genereric ethsw
parser from cmd_ethsw.c
Signed-off-by: Codrin Ciubotariu
the port
These commands have also been added to the ethsw generic parser from
common/cmd_ethsw.c
Signed-off-by: Johnson Leung
Signed-off-by: Codrin Ciubotariu
---
Changes for v2:
- removed Change-id field;
Changes for v3:
- replaced values returned by functions called by the parser
. The command has also been added to the generic ethsw parser
from cmd_ethsw.c.
Signed-off-by: Johnson Leung
Signed-off-by: Codrin Ciubotariu
---
Changes for v2:
- removed Change-id field;
Changes for v3:
- replaced values returned by functions called by the parser with
CMD_RET_
The command:
ethsw [port ] learning { [help] | show | auto | disable }
can be used to enable/disable HW learning on a port.
This patch also adds this command to the generic ethsw parser from
cmd_ethsw.
Signed-off-by: Johnson Leung
Signed-off-by: Codrin Ciubotariu
---
Changes for v2
The code from common/env_flags.c that checks if a
string has the format of a MAC address has been moved
in net/eth.c as a separate function called
eth_validate_ethaddr_str().
Signed-off-by: Codrin Ciubotariu
---
Changes for v3:
- none, new patch;
common/env_flags.c | 15
ethsw generic parser
from common/cmd_ethsw.c
Signed-off-by: Johnson Leung
Signed-off-by: Codrin Ciubotariu
---
Changes for v2:
- removed Change-id field;
Changes for v3:
- replaced values returned by functions called by the parser with
CMD_RET_* m
Signed-off-by: Codrin Ciubotariu
---
Changes for v2:
- removed Change-id field;
Changes for v3:
- this patch also includes the Copyright year updates for the modified
values;
drivers/net/vsc9953.c | 2 +-
include/vsc9953.h | 11 +++
2 files changed, 4 insertions
Signed-off-by: Johnson Leung
Signed-off-by: Codrin Ciubotariu
---
Changes for v2:
- removed Change-id field;
Changes for v3:
- replaced values returned by functions called by the parser with
CMD_RET_* macros;
- each variabled is declared on a separate line
MD_RET_* macros instead of 1 and 0
- small code fixes
Codrin Ciubotariu (16):
drivers/net/vsc9953: Remove 'CONFIG_' from macros' name
drivers/net/vsc9953: Cleanup patch
drivers/net/vsc9953: Fix bug when enabling a port
drivers/net/vsc9953: Fix missing reserved regist
The code that checks if a string has the format of a MAC address has been
moved to a separate function called eth_validate_ethaddr_str().
This has been done to allow other components (such as vsc9953 driver)
to validate a MAC address.
Signed-off-by: Codrin Ciubotariu
---
Changes for v3
. The command has also been added to the generic ethsw parser
from cmd_ethsw.c.
Signed-off-by: Johnson Leung
Signed-off-by: Codrin Ciubotariu
---
Changes for v2:
- removed Change-id field;
Changes for v3:
- replaced values returned by functions called by the parser with
CMD_RET_
The driver for VSC9953 L2 switch IP supports many features and
the documentation needs to be updated.
Signed-off-by: Codrin Ciubotariu
---
doc/README.t1040-l2switch | 27 ---
1 file changed, 20 insertions(+), 7 deletions(-)
diff --git a/doc/README.t1040-l2switch b/doc
are applied in the right order and no
merge conflicts appear.
Codrin Ciubotariu (5):
drivers: net: vsc9953: Fix number of reserved registers
drivers: net: vsc9953: Fix FDB aging time
doc: t1040-l2switch: Update README
common: cmd_ethsw: Spelling fixes
drivers: net: vsc9953: Add LAG support
By default, the aging period is set to 0, so the dynamic
FDB entries are never removed. This patch sets the aging
time to 300 seconds.
Signed-off-by: Codrin Ciubotariu
---
drivers/net/vsc9953.c | 23 +++
include/vsc9953.h | 4
2 files changed, 27 insertions
Signed-off-by: Codrin Ciubotariu
---
common/cmd_ethsw.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/common/cmd_ethsw.c b/common/cmd_ethsw.c
index 8e452e9..a5ed555 100644
--- a/common/cmd_ethsw.c
+++ b/common/cmd_ethsw.c
@@ -71,7 +71,7 @@ static int
es, Source/Destination IP(v4/v6)
addresses, Source/Destination ports. This hash will be used to
select a single egress port from LAG. This also assures
that frames from the same flow will always have the
same egress port.
Signed-off-by: Codrin Ciubotariu
---
common/cmd_ethsw.c| 74 ++
There are only 21 registers reserved between ana_ana and
ana_pgid register groups.
Signed-off-by: Codrin Ciubotariu
---
include/vsc9953.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/vsc9953.h b/include/vsc9953.h
index cd5cfc7..00aa222 100644
--- a/include/vsc9953
rupts available in CPLD with exception
for QSGMII PHY interrupts, for which we have a driver in Linux.
This patch depends on patches:
mpc85xx/T104xD4RDB: Add T104xD4RDB boards support
mpc85xx/T1042D4RDB: Select DIU in cpld mux for T1042D4RDB
Signed-off-by: Codrin Ciubotariu
---
board/freescale/t10
er is available only for
T104XD4RDB boards;
- added debug message if the CPLD verison doesn't support
the int_mask register;
- add defines for all interrupt mask bits.
Signed-off-by: Codrin Ciubotariu
---
board/freescale/t104xrdb/cpld.c | 4
board
s_le32 to reduce the number of code
lines and to assure that only intended bits of a register are
changed.
Signed-off-by: Codrin Ciubotariu
Change-Id: Ib5f7d94bd6a39b909bf7b70bb12e15156a7e45c9
---
drivers/net/vsc9953.c | 100 +
ort
Signed-off-by: Johnson Leung
Signed-off-by: Codrin Ciubotariu
Change-Id: If55943254f6f865d4bc2e18a4ab0620ab787fbc1
---
drivers/net/vsc9953.c | 678 +-
include/vsc9953.h | 3 +
2 files changed, 680 insertions(+), 1 deletion(-)
diff --gi
mbers);
- set/show PVID (ingress and egress VLAN tagging) for a port;
- set egress tagging mod for a port;
- configure VID source for egress tag;
- make VLAN learning shared or private;
- enable/disable VLAN ingress filtering on a port.
Codrin Ciubotariu (10):
dr
mbers);
- set/show PVID (ingress and egress VLAN tagging) for a port;
- set egress tagging mod for a port;
- configure VID source for egress tag;
- make VLAN learning shared or private;
- enable/disable VLAN ingress filtering on a port.
Codrin Ciubotariu (10):
dr
The command:
ethsw [port ] learning { [help] | show | auto | disable }
can be used to enable/disable HW learning on a port.
Signed-off-by: Johnson Leung
Signed-off-by: Codrin Ciubotariu
Change-Id: Id05691c342d9a9b253e591d9c64a8e13225c5e56
---
drivers/net/vsc9953.c | 188
Signed-off-by: Codrin Ciubotariu
Change-Id: Ifd82465cce10e310a4f974ae70dceab838ae27db
---
include/vsc9953.h | 11 +++
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/include/vsc9953.h b/include/vsc9953.h
index 26a08aa..753abba 100644
--- a/include/vsc9953.h
+++ b/include
ff-by: Codrin Ciubotariu
Change-Id: I6b2ac706ff9ef7bb9d873402b293455366cf5034
---
drivers/net/vsc9953.c | 155 ++
include/vsc9953.h | 3 +
2 files changed, 158 insertions(+)
diff --git a/drivers/net/vsc9953.c b/drivers/net/vsc9953.c
index b7
.
Signed-off-by: Johnson Leung
Signed-off-by: Codrin Ciubotariu
Change-Id: I63f2df7d2b5c885c96be4fec3874eaf994e3c26f
---
drivers/net/vsc9953.c | 635 +-
include/vsc9953.h | 28 +++
2 files changed, 662 insertions(+), 1 deletion(-)
diff --git a
should add a VLAN tag if the
frame is classified to a different VLAN than the port's
Port-based VLAN;
Signed-off-by: Johnson Leung
Signed-off-by: Codrin Ciubotariu
Change-Id: I2cd5ad30371ca8f64aec51afe5bd6b3c0a66569d
---
drivers/net/vsc9953.c
The new added command:
ethsw [port ] statistics { [help] | [clear] }
will print counters like the number of Rx/Tx frames,
number of Rx/Tx bytes, number of Rx/Tx unicast frames, etc.
Signed-off-by: Codrin Ciubotariu
Change-Id: I52c4ab024a60b62afe89d4ee3e37f50174597c4b
---
drivers/net/vsc9953.c
s_le32 to reduce the number of code
lines and to assure that only intended bits of a register are
changed.
Signed-off-by: Codrin Ciubotariu
Change-Id: Ib5f7d94bd6a39b909bf7b70bb12e15156a7e45c9
---
drivers/net/vsc9953.c | 100 +
The command:
ethsw [port ] ingress filtering
{ [help] | show | enable | disable }
- enable/disable VLAN ingress filtering on port
can be used to enable/disable/show VLAN ingress filtering on a port.
Signed-off-by: Johnson Leung
Signed-off-by: Codrin Ciubotariu
Change-Id
, the parser allows for
optional keywords, such as "port", to apply the command on a port
or on all ports. The already defined commands are also changed a
bit to:
ethsw [port ] { enable | disable | show }
Signed-off-by: Codrin Ciubotariu
Change-Id: I59917e064399a8c7ab8cf96ed941c4
The VSC9953 DS reserves a register between vlan_mask and anag_efil
registers.
Signed-off-by: Johnson Leung
Change-Id: Ia7998cfcae932e8c1146dec98d6c6493b6bc1192
---
include/vsc9953.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/vsc9953.h b/include/vsc9953.h
index 920402f..2b88c5c 1
The command:
ethsw [port ] learning { [help] | show | auto | disable }
can be used to enable/disable HW learning on a port.
Signed-off-by: Johnson Leung
Signed-off-by: Codrin Ciubotariu
---
Changes for v2:
- removed Change-id field;
drivers/net/vsc9953.c | 188
moved Change-id field;
- Added the patch that changes the License
at the end of the patch set for an easier
integration;
Codrin Ciubotariu (11):
drivers/net/vsc9953: Cleanup patch
drivers/net/vsc9953: Fix missing reserved register
drivers/net/vsc9953: Add de
should add a VLAN tag if the
frame is classified to a different VLAN than the port's
Port-based VLAN;
Signed-off-by: Johnson Leung
Signed-off-by: Codrin Ciubotariu
---
Changes for v2:
- removed Change-id field;
drivers/net/vsc9953.c
s_le32 to reduce the number of code
lines and to assure that only intended bits of a register are
changed.
Signed-off-by: Codrin Ciubotariu
---
Changes for v2:
- removed Change-id field;
drivers/net/vsc9953.c | 100 +
, the parser allows for
optional keywords, such as "port", to apply the command on a port
or on all ports. The already defined commands are also changed a
bit to:
ethsw [port ] { enable | disable | show }
Signed-off-by: Codrin Ciubotariu
---
Changes for v2:
- removed Chang
The new added command:
ethsw [port ] statistics { [help] | [clear] }
will print counters like the number of Rx/Tx frames,
number of Rx/Tx bytes, number of Rx/Tx unicast frames, etc.
Signed-off-by: Codrin Ciubotariu
---
Changes for v2:
- removed Change-id field;
drivers/net/vsc9953.c
The VSC9953 DS reserves a register between vlan_mask and anag_efil
registers.
Signed-off-by: Johnson Leung
---
Changes for v2:
- removed Change-id field;
include/vsc9953.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/vsc9953.h b/include/vsc9953.h
index 920402f..2b88c5c 10
.
Signed-off-by: Johnson Leung
Signed-off-by: Codrin Ciubotariu
---
Changes for v2:
- removed Change-id field;
drivers/net/vsc9953.c | 635 +-
include/vsc9953.h | 28 +++
2 files changed, 662 insertions(+), 1 deletion(-)
diff --git a
Signed-off-by: Codrin Ciubotariu
---
Changes for v2:
- fixed the Copyright years from 2014-2015 to 2013, 2015;
- removed Change-id field;
include/vsc9953.h | 11 +++
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/include/vsc9953.h b/include/vsc9953.h
index
ort
Signed-off-by: Johnson Leung
Signed-off-by: Codrin Ciubotariu
---
Changes for v2:
- removed Change-id field;
drivers/net/vsc9953.c | 678 +-
include/vsc9953.h | 3 +
2 files changed, 680 insertions(+), 1 deletion(-)
diff --gi
The command:
ethsw [port ] ingress filtering
{ [help] | show | enable | disable }
- enable/disable VLAN ingress filtering on port
can be used to enable/disable/show VLAN ingress filtering on a port.
Signed-off-by: Johnson Leung
Signed-off-by: Codrin Ciubotariu
---
Changes for v2
ff-by: Codrin Ciubotariu
---
Changes for v2:
- removed Change-id field;
drivers/net/vsc9953.c | 155 ++
include/vsc9953.h | 3 +
2 files changed, 158 insertions(+)
diff --git a/drivers/net/vsc9953.c b/drivers/net/vsc9953.c
index b7
On T1040D4RDB board, u-boot fails to connect port FM1@DTSEC3 to
the Ethernet PHY because the wrong PHY address is used. Also,
T1040D4RDB supports SGMII on one port only.
Signed-off-by: Codrin Ciubotariu
---
include/configs/T104xRDB.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion
AT
partition.
Signed-off-by: Codrin Ciubotariu
---
configs/sama5d2_xplained_emmc_defconfig | 88 +
include/configs/sama5d2_xplained.h | 4 +-
2 files changed, 90 insertions(+), 2 deletions(-)
create mode 100644 configs/sama5d2_xplained_emmc_defcon
This series basically adds a new defconfig for sama5d27_som1_ek board
to boot from uSD. Also needed to cleanup the board's config header.
Codrin Ciubotariu (3):
configs: sama5d27_som1_ek: Remove unnecessary FAT_ENV_xxx macros
configs: sama5d27_som1_ek: Set CONFIG_BOOTARGS using Kc
FAT_ENV_xxx options can now be set using Kconfig, so we no longer
need them in the config files.
Signed-off-by: Codrin Ciubotariu
---
include/configs/sama5d27_som1_ek.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/include/configs/sama5d27_som1_ek.h
b/include/configs/sama5d27_som1_ek.h
CONFIG_BOOTARGS can be set using Kconfig, so we no longer need it
in the config files.
Signed-off-by: Codrin Ciubotariu
---
configs/sama5d27_som1_ek_mmc_defconfig | 2 ++
include/configs/sama5d27_som1_ek.h | 3 ---
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/configs
partition.
Signed-off-by: Codrin Ciubotariu
---
configs/sama5d27_som1_ek_mmc1_defconfig | 91 +
include/configs/sama5d27_som1_ek.h | 4 +-
2 files changed, 93 insertions(+), 2 deletions(-)
create mode 100644 configs/sama5d27_som1_ek_mmc1_defcon
track
of all the configured protocols.
This patch replaces the u64 map values with static arrays.
To keep track of the number of serdes protocols, the
SERDES_PRCTL_COUNT vale has been added at the end of
enum srds_prtcl. This value must always be the last one.
Signed-off-by: Codrin Ciubotariu
fix for mapping of Freescale SerDes protocols;
- removed "Change-id" lines from almost all the patches;
Codrin Ciubotariu (11):
net/fm: Fix error when FMAN MAC has no PHY
arch/powerpc: Fix mapping of Freescale SerDes protocols
arch/powerpc: Add SGMII support for the
U-boot assumes that all FMAN ports have a PHY. Some SoCs (like T1040)
have fixed links. This means that the ports are connected MAC to MAc
and there is no Ethernet PHY attatched. This patch initializes a
FMAN MAC even if it doesn't have a PHY attached.
Signed-off-by: Codrin Ciubo
Some Freescale SoCs like T1020 and T1040 have an integrated
L2 Switch. The L2 Switch ports may be connected to Ethernet PHYs
over SGMII and QSGMII.
Signed-off-by: Codrin Ciubotariu
---
Changes for v2:
- split a bug fix regarding Freescale SerDes protocols
into a different patch
Signed-off-by: Codrin Ciubotariu
---
Changes for v2: None
Changes for v3:
- Removed "Change-id" line from comment;
board/freescale/t1040qds/eth.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/board/freescale/t1040qds/eth.c b/board/freescale/t1040qds/eth.c
index 06d908
T1040 and T1020 are two Freescale SoCs with an integrated
VSC9953 Gigabit L2 Switch. This patch initializes this L2
switch on boards with T1040 and T1020.
Signed-off-by: Codrin Ciubotariu
---
Changes for v2:
- added patch description;
Changes for v3:
- Removed "Change-id&
If SerDes is configured to connect L2 Switch ports from T1040
over SGMII or QSGMII, the two FMAN fixed ports (FM1@DTSEC1 and FM2@DTSEC2)
that are connected to two L2 swtch ports must be enabled. These
ports don't have PHYs and must be treated accordingly.
Signed-off-by: Codrin Ciubo
have no PHYs attatched, so they don't have a
corresponding MDIO.
Signed-off-by: Codrin Ciubotariu
---
Changes for v2:
- Added patch description;
Changes for v3:
- Removed "Change-id" line from comment;
board/freescale/t104xrdb/eth.c | 9 +++--
1 file changed
have no PHYs attatched, so they don't have a
corresponding MDIO.
Signed-off-by: Codrin Ciubotariu
---
Changes for v2:
- added patch description;
Changes for v3:
- Removed "Change-id" line from comment;
board/freescale/t1040qds/eth.c | 1 +
1 file changed, 1 inse
This patch configures and initializes the L2 switch on T1040QDS board.
The L2 switch ports must be initialized according to the SerDes
protocols.
Signed-off-by: Codrin Ciubotariu
---
Changes for v2: None
Changes for v3:
- Removed "Change-id" line from comment;
board
This patch configures and initializes the L2 switch on T1040rdb board.
The external L2 switch ports may be connected to PHYs only over
QSGMII, for T1040rdb.
Signed-off-by: Codrin Ciubotariu
---
Changes for v2: None
Changed for v3:
- Removed "Change-id" line from commen
; for all ports
For more detailse please see doc/README.t1040-l2switch
Signed-off-by: Codrin Ciubotariu
---
Changes for v2:
- added debug messages if MDIO reads or writes timeout;
- added debug messages when reset of VSC9953 switch fails;
- replaced Copyright and licens
This patch initializes VSC9953 L2 Switch for boards that have
CONFIG_VSC9953 defined in their config file.
Signed-off-by: Codrin Ciubotariu
---
Changes for v2:
- added patch description;
Changes for v3:
- Removed "Change-id" line from comment;
Changes for v4:
This patch configures and initializes the L2 switch on T1040QDS board.
The L2 switch ports must be initialized according to the SerDes
protocols.
Signed-off-by: Codrin Ciubotariu
---
Changes for v2: None
Changes for v3:
- Removed "Change-id" line from comment;
Chan
This patch configures and initializes the L2 switch on T1040rdb board.
The external L2 switch ports may be connected to PHYs only over
QSGMII, for T1040rdb.
Signed-off-by: Codrin Ciubotariu
---
Changes for v2: None
Changes for v3:
- Removed "Change-id" line from comment;
C
-of-line blocking for other frames.
Signed-off-by: Codrin Ciubotariu
---
drivers/net/vsc9953.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/drivers/net/vsc9953.c b/drivers/net/vsc9953.c
index ef1435f..2388438 100644
--- a/drivers/net/vsc9953.c
+++ b/drivers/net
The commands for the VSC9953 l2 switch from T1040 became generic in
patch https://patchwork.ozlabs.org/patch/499748/ and the define
was renamed.
Signed-off-by: Codrin Ciubotariu
---
include/configs/T1040QDS.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/configs
Signed-off-by: Codrin Ciubotariu
---
drivers/net/vsc9953.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/vsc9953.c b/drivers/net/vsc9953.c
index 44afe14..ef1435f 100644
--- a/drivers/net/vsc9953.c
+++ b/drivers/net/vsc9953.c
@@ -335,7 +335,7 @@ static int
If SerDes is configured to connect L2 Switch ports from T1040
over SGMII or QSGMII, the two FMAN fixed ports (FM1@DTSEC1 and FM2@DTSEC2)
that are connected to two L2 swtch ports must be enabled. These
ports don't have PHYs and must be treated accordingly.
Signed-off-by: Codrin Ciubotariu
C
Signed-off-by: Codrin Ciubotariu
Change-Id: I379544addc0842a6c6fb515fe398a61012cb4b16
---
board/freescale/t104xrdb/eth.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/board/freescale/t104xrdb/eth.c b/board/freescale/t104xrdb/eth.c
index c8b6c67..f5c0ec8 100644
Signed-off-by: Codrin Ciubotariu
Change-Id: I35d9b33667538eab40463035b5cbb290f7a1ee07
---
board/freescale/t1040qds/eth.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/board/freescale/t1040qds/eth.c b/board/freescale/t1040qds/eth.c
index c6fc146..2f8e753 100644
--- a/board/freescale
U-boot assumes that all FMAN ports have a PHY. Some SoCs (like T1040)
have fixed links. This means that the ports are connected MAC to MAc
and there is no Ethernet PHY attatched. This patch initializes a
FMAN MAC even if it doesn't have a PHY attached.
Signed-off-by: Codrin Ciubo
Some Freescale SoCs like T1020 and T1040 have an integrated
L2 Switch. The L2 Switch ports may be connected to Ethernet PHYs
over SGMII and QSGMII.
Signed-off-by: Codrin Ciubotariu
Change-Id: Idadad19d469efc45f03c6f8884c3647e02b28df4
---
arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c | 70
This patch configures and initializes the L2 switch on T1040QDS board.
The L2 switch ports must be initialized according to the SerDes
protocols.
Signed-off-by: Codrin Ciubotariu
Change-Id: I329f9cc1b1be745da23151e78831d8a3219b7f97
---
board/freescale/t1040qds/eth.c | 92
; for all ports
For more detailse please see doc/README.t1040-l2switch
Signed-off-by: Codrin Ciubotariu
Change-Id: I460852dc67c1dd3b387e57a50d73dc0ec5f77f8b
---
doc/README.t1040-l2switch | 49 +
drivers/net/Makefile | 1 +
drivers/net
Signed-off-by: Codrin Ciubotariu
Change-Id: If65224646f737270dad1ef3558a400a002e9d4b6
---
arch/powerpc/cpu/mpc8xxx/cpu.c| 7 +++
arch/powerpc/include/asm/config_mpc85xx.h | 3 +++
2 files changed, 10 insertions(+)
diff --git a/arch/powerpc/cpu/mpc8xxx/cpu.c b/arch/powerpc/cpu
Signed-off-by: Codrin Ciubotariu
Change-Id: I911b61580681f4b042b1f280a6a60ebf91d9ab13
---
board/freescale/t1040qds/eth.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/board/freescale/t1040qds/eth.c b/board/freescale/t1040qds/eth.c
index 06d9086..c6fc146 100644
--- a/board/freescale
This patch configures and initializes the L2 switch on T1040rdb board.
The external L2 switch ports may be connected to PHYs only over
QSGMII, for T1040rdb.
Signed-off-by: Codrin Ciubotariu
Change-Id: I56ae23192daa882c66d04b64b9a7d32531a13db0
---
board/freescale/t104xrdb/eth.c | 50
IO reads or writes timeout;
- added debug messages when reset of VSC9953 switch fails;
- replaced Copyright and license to the generic one;
- added patch descriptions;
Codrin Ciubotariu (11):
net/fm: Fix error when FMAN MAC has no PHY
arch/powerpc: Fix mapping of Freesca
U-boot assumes that all FMAN ports have a PHY. Some SoCs (like T1040)
have fixed links. This means that the ports are connected MAC to MAc
and there is no Ethernet PHY attatched. This patch initializes a
FMAN MAC even if it doesn't have a PHY attached.
Signed-off-by: Codrin Ciubo
If SerDes is configured to connect L2 Switch ports from T1040
over SGMII or QSGMII, the two FMAN fixed ports (FM1@DTSEC1 and FM2@DTSEC2)
that are connected to two L2 swtch ports must be enabled. These
ports don't have PHYs and must be treated accordingly.
Signed-off-by: Codrin Ciubotariu
C
; for all ports
For more detailse please see doc/README.t1040-l2switch
Signed-off-by: Codrin Ciubotariu
Change-Id: I460852dc67c1dd3b387e57a50d73dc0ec5f77f8b
---
doc/README.t1040-l2switch | 49 +
drivers/net/Makefile | 1 +
drivers/net
track
of all the configured protocols.
This patch replaces the u64 map values with static arrays.
To keep track of the number of serdes protocols, the
SERDES_PRCTL_COUNT vale has been added at the end of
enum srds_prtcl. This value must always be the last one.
Signed-off-by: Codrin Ciubotariu
have no PHYs attatched, so they don't have a
corresponding MDIO.
Signed-off-by: Codrin Ciubotariu
Change-Id: I35d9b33667538eab40463035b5cbb290f7a1ee07
---
board/freescale/t1040qds/eth.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/board/freescale/t1040qds/eth.c b/board/freescale/t104
1 - 100 of 106 matches
Mail list logo