-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_defconfig
diff --git a/configs
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
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
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 Kconfig
-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_defconfig
diff --git a/configs
Signed-off-by: Codrin Ciubotariu <codrin.ciubota...@nxp.com>
---
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
@@
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 <codrin.ciubota...@nxp.com>
---
include/configs/T1040QDS.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-of-line blocking for other frames.
Signed-off-by: Codrin Ciubotariu <codrin.ciubota...@nxp.com>
---
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/drive
The driver for VSC9953 L2 switch IP supports many features and
the documentation needs to be updated.
Signed-off-by: Codrin Ciubotariu <codrin.ciubota...@freescale.com>
---
doc/README.t1040-l2switch | 27 ---
1 file changed, 20 insertions(+), 7 deletions(-)
diff
that they 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 <codrin.ciubota...@freescale.com>
---
drivers/net/vsc9953.c | 23 +++
include/vsc9953.h | 4 +
/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 <codrin.ciubota...@freescale.com>
---
common/cmd_e
There are only 21 registers reserved between ana_ana and
ana_pgid register groups.
Signed-off-by: Codrin Ciubotariu <codrin.ciubota...@freescale.com>
---
include/vsc9953.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/vsc9953.h b/include/vsc9953.h
index c
Signed-off-by: Codrin Ciubotariu <codrin.ciubota...@freescale.com>
---
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
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 <codrin.ciubota...@freescale.com>
---
include/configs/T104xRDB.h | 4 +++-
1 file chan
. The command has also been added to the generic ethsw parser
from cmd_ethsw.c.
Signed-off-by: Johnson Leung <johnson.le...@freescale.com>
Signed-off-by: Codrin Ciubotariu <codrin.ciubota...@freescale.com>
---
Changes for v2:
- removed Change-id field;
Changes for v3:
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 <codrin.ciub
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 Ciubotariu codrin.ciubota
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
---
Changes for v3:
- none; new patch;
drivers/net/vsc9953.c | 38 +++---
include/vsc9953.h | 46 +++---
2 files changed, 42 insertions(+), 42
The new bitfield value must not be higher than its mask.
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
---
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
by replacing out_le32()
with setbits_le32().
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
---
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
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 codrin.ciubota...@freescale.com
---
Changes for v3:
- none; new patch;
include/bitfield.h | 32
The VSC9953 DS reserves a register between vlan_mask and anag_efil
registers.
Signed-off-by: Johnson Leung johnson.le...@freescale.com
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
---
Changes for v2:
- removed Change-id field;
Changes for v3:
- added
The new added command:
ethsw [port port_no] 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
the command on a port
or on all ports. For now, the defined commands are:
ethsw [port port_no] { enable | disable | show }
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
---
Changes for v3:
- parser removed from previous patch:
drivers/net/vsc9953: Refractor the parser
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 johnson.le...@freescale.com
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
---
Changes for v2:
- removed Change-id field;
Changes
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
or the PVID of the port
These commands have also been added to the ethsw generic parser from
common/cmd_ethsw.c
Signed-off-by: Johnson Leung johnson.le...@freescale.com
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
---
Changes for v2:
- removed Change-id field;
Changes
can be seen or
flushed. The command has also been added to the generic ethsw parser
from cmd_ethsw.c.
Signed-off-by: Johnson Leung johnson.le...@freescale.com
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
---
Changes for v2:
- removed Change-id field;
Changes for v3
The command:
ethsw [port port_no] 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 johnson.le...@freescale.com
Signed-off-by: Codrin
generic parser
from common/cmd_ethsw.c
Signed-off-by: Johnson Leung johnson.le...@freescale.com
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
---
Changes for v2:
- removed Change-id field;
Changes for v3:
- replaced values returned by functions
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
---
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
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 codrin.ciubota...@freescale.com
---
Changes for v3:
- none, new patch;
common
Signed-off-by: Johnson Leung johnson.le...@freescale.com
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
---
Changes for v2:
- removed Change-id field;
Changes for v3:
- replaced values returned by functions called by the parser with
CMD_RET_
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 register
include/bitfield: Add new bitfield
The command:
ethsw [port port_no] learning { [help] | show | auto | disable }
can be used to enable/disable HW learning on a port.
Signed-off-by: Johnson Leung johnson.le...@freescale.com
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
---
Changes for v2:
- removed
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 default
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 johnson.le...@freescale.com
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
---
Changes for v2:
- removed Change-id field;
drivers/net
lines and to assure that only intended bits of a register are
changed.
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
---
Changes for v2:
- removed Change-id field;
drivers/net/vsc9953.c | 100 +-
include/vsc9953.h | 47
, 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 port_no] { enable | disable | show }
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
---
Changes for v2
The new added command:
ethsw [port port_no] 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 codrin.ciubota...@freescale.com
---
Changes for v2:
- removed
The VSC9953 DS reserves a register between vlan_mask and anag_efil
registers.
Signed-off-by: Johnson Leung johnson.le...@freescale.com
---
Changes for v2:
- removed Change-id field;
include/vsc9953.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/vsc9953.h
can be seen or
flushed.
Signed-off-by: Johnson Leung johnson.le...@freescale.com
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
---
Changes for v2:
- removed Change-id field;
drivers/net/vsc9953.c | 635 +-
include/vsc9953
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
---
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
or the PVID of the port
Signed-off-by: Johnson Leung johnson.le...@freescale.com
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
---
Changes for v2:
- removed Change-id field;
drivers/net/vsc9953.c | 678 +-
include/vsc9953
The command:
ethsw [port port_no] 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 johnson.le...@freescale.com
Signed-off-by: Codrin
...@freescale.com
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
---
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
or the PVID of the port
Signed-off-by: Johnson Leung johnson.le...@freescale.com
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
Change-Id: If55943254f6f865d4bc2e18a4ab0620ab787fbc1
---
drivers/net/vsc9953.c | 678 +-
include/vsc9953
lines and to assure that only intended bits of a register are
changed.
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
Change-Id: Ib5f7d94bd6a39b909bf7b70bb12e15156a7e45c9
---
drivers/net/vsc9953.c | 100 +-
include/vsc9953.h
, 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 port_no] { enable | disable | show }
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
Change-Id
The VSC9953 DS reserves a register between vlan_mask and anag_efil
registers.
Signed-off-by: Johnson Leung johnson.le...@freescale.com
Change-Id: Ia7998cfcae932e8c1146dec98d6c6493b6bc1192
---
include/vsc9953.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/vsc9953.h
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 johnson.le...@freescale.com
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
Change-Id: I2cd5ad30371ca8f64aec51afe5bd6b3c0a66569d
---
drivers
The new added command:
ethsw [port port_no] 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 codrin.ciubota...@freescale.com
Change-Id
can be seen or
flushed.
Signed-off-by: Johnson Leung johnson.le...@freescale.com
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
Change-Id: I63f2df7d2b5c885c96be4fec3874eaf994e3c26f
---
drivers/net/vsc9953.c | 635 +-
include/vsc9953
The command:
ethsw [port port_no] learning { [help] | show | auto | disable }
can be used to enable/disable HW learning on a port.
Signed-off-by: Johnson Leung johnson.le...@freescale.com
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
Change-Id
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
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
...@freescale.com
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
Change-Id: I6b2ac706ff9ef7bb9d873402b293455366cf5034
---
drivers/net/vsc9953.c | 155 ++
include/vsc9953.h | 3 +
2 files changed, 158 insertions(+)
diff --git
);
- 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):
drivers
);
- 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):
drivers
lines and to assure that only intended bits of a register are
changed.
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
Change-Id: Ib5f7d94bd6a39b909bf7b70bb12e15156a7e45c9
---
drivers/net/vsc9953.c | 100 +-
include/vsc9953.h
The command:
ethsw [port port_no] 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 johnson.le...@freescale.com
Signed-off-by: Codrin
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 codrin.ciubota...@freescale.com
---
board/freescale/t104xrdb/cpld.c
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 codrin.ciubota...@freescale.com
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 codrin.ciubota...@freescale.com
---
include
-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
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
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 codrin.ciubota...@freescale.com
---
Changes for v2: None
Changes for v3:
- Removed Change-id line
This patch initializes VSC9953 L2 Switch for boards that have
CONFIG_VSC9953 defined in their config file.
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
---
Changes for v2:
- added patch description;
Changes for v3:
- Removed Change-id line from comment
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 codrin.ciubota...@freescale.com
---
Changes for v2: None
Changes for v3:
- Removed Change-id line from
for all ports
For more detailse please see doc/README.t1040-l2switch
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
---
Changes for v2:
- added debug messages if MDIO reads or writes timeout;
- added debug messages when reset of VSC9953 switch fails;
- replaced
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 codrin.ciubota...@freescale.com
---
Changes for v2: None
Changed for v3:
- Removed Change-id line
no PHYs attatched, so they don't have a
corresponding MDIO.
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
---
Changes for v2:
- added patch description;
Changes for v3:
- Removed Change-id line from comment;
board/freescale/t1040qds/eth.c | 1 +
1 file changed
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 codrin.ciubota...@freescale.com
---
Changes for v2: None
Changes for v3:
- Removed Change-id line from
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 L2 Switch ports
net/fm: Enable FMAN ports
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 Ciubotariu
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
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 codrin.ciubota...@freescale.com
---
Changes for v2:
- split a bug fix regarding Freescale SerDes protocols
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
---
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
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 codrin.ciubota...@freescale.com
---
Changes for v2:
- added patch description;
Changes for v3
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
no PHYs attatched, so they don't have a
corresponding MDIO.
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
---
Changes for v2:
- Added patch description;
Changes for v3:
- Removed Change-id line from comment;
board/freescale/t104xrdb/eth.c | 9 +++--
1 file
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 Freescale SerDes protocols
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 Ciubotariu
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
for all ports
For more detailse please see doc/README.t1040-l2switch
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
Change-Id: I460852dc67c1dd3b387e57a50d73dc0ec5f77f8b
---
doc/README.t1040-l2switch | 49 +
drivers/net/Makefile | 1 +
drivers/net/vsc9953.c | 497
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
no PHYs attatched, so they don't have a
corresponding MDIO.
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
Change-Id: I35d9b33667538eab40463035b5cbb290f7a1ee07
---
board/freescale/t1040qds/eth.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/board/freescale/t1040qds/eth.c b
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
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
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
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
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 codrin.ciubota...@freescale.com
Change-Id: I56ae23192daa882c66d04b64b9a7d32531a13db0
---
board/freescale
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 codrin.ciubota...@freescale.com
Change-Id: Idadad19d469efc45f03c6f8884c3647e02b28df4
---
arch/powerpc/cpu/mpc85xx
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 codrin.ciubota...@freescale.com
Change-Id: I329f9cc1b1be745da23151e78831d8a3219b7f97
---
board/freescale/t1040qds
no PHYs attatched, so they don't have a
corresponding MDIO.
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
Change-Id: I379544addc0842a6c6fb515fe398a61012cb4b16
---
board/freescale/t104xrdb/eth.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/board
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
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
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
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
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
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 Ciubotariu
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 codrin.ciubota...@freescale.com
Change-Id: Idadad19d469efc45f03c6f8884c3647e02b28df4
---
arch/powerpc/cpu/mpc85xx
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 codrin.ciubota...@freescale.com
Change-Id: I329f9cc1b1be745da23151e78831d8a3219b7f97
---
board/freescale/t1040qds
for all ports
For more detailse please see doc/README.t1040-l2switch
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
Change-Id: I460852dc67c1dd3b387e57a50d73dc0ec5f77f8b
---
doc/README.t1040-l2switch | 49 +
drivers/net/Makefile | 1 +
drivers/net/vsc9953.c | 489
Signed-off-by: Codrin Ciubotariu codrin.ciubota...@freescale.com
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
1 - 100 of 106 matches
Mail list logo