diff options
author | Daniel Golle <daniel@makrotopia.org> | 2022-03-21 01:16:48 +0000 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2022-03-21 13:11:56 +0000 |
commit | 786bf7fdaca4c75e7eba6e9aa3a8b5775fd21186 (patch) | |
tree | 926fecb2b1f6ce1e42ba7ef4c7aab8e68dfd214c /target/linux/octeontx/patches-5.4/0001-net-thunderx-use-proper-interface-type-for-RGMII.patch | |
parent | 9470160c350d15f765c33d6c1db15d6c4709a64c (diff) | |
download | upstream-786bf7fdaca4c75e7eba6e9aa3a8b5775fd21186.tar.gz upstream-786bf7fdaca4c75e7eba6e9aa3a8b5775fd21186.tar.bz2 upstream-786bf7fdaca4c75e7eba6e9aa3a8b5775fd21186.zip |
kernel: delete Linux 5.4 config and patches
As the upcoming release will be based on Linux 5.10 only, remove all
kernel configuration as well as patches for Linux 5.4.
There were no targets still actively using Linux 5.4.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 3a14580411adfb75f9a44eded9f41245b9e44606)
Diffstat (limited to 'target/linux/octeontx/patches-5.4/0001-net-thunderx-use-proper-interface-type-for-RGMII.patch')
-rw-r--r-- | target/linux/octeontx/patches-5.4/0001-net-thunderx-use-proper-interface-type-for-RGMII.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/target/linux/octeontx/patches-5.4/0001-net-thunderx-use-proper-interface-type-for-RGMII.patch b/target/linux/octeontx/patches-5.4/0001-net-thunderx-use-proper-interface-type-for-RGMII.patch deleted file mode 100644 index 6f144b6db8..0000000000 --- a/target/linux/octeontx/patches-5.4/0001-net-thunderx-use-proper-interface-type-for-RGMII.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 2d3da16317086ba6048c601ee88cdc96f19fd741 Mon Sep 17 00:00:00 2001 -From: Tim Harvey <tharvey@gateworks.com> -Date: Fri, 7 Feb 2020 12:40:26 -0800 -Subject: [PATCH 01/12] net: thunderx: use proper interface type for RGMII - -The configuration of the OCTEONTX XCV_DLL_CTL register via -xcv_init_hw() is such that the RGMII RX delay is bypassed -leaving the RGMII TX delay enabled in the MAC: - - /* Configure DLL - enable or bypass - * TX no bypass, RX bypass - */ - cfg = readq_relaxed(xcv->reg_base + XCV_DLL_CTL); - cfg &= ~0xFF03; - cfg |= CLKRX_BYP; - writeq_relaxed(cfg, xcv->reg_base + XCV_DLL_CTL); - -This would coorespond to a interface type of PHY_INTERFACE_MODE_RGMII_RXID -and not PHY_INTERFACE_MODE_RGMII. - -Fixing this allows RGMII PHY drivers to do the right thing (enable -RX delay in the PHY) instead of erroneously enabling both delays in the -PHY. - -Signed-off-by: Tim Harvey <tharvey@gateworks.com> -Reviewed-by: Andrew Lunn <andrew@lunn.ch> -Signed-off-by: David S. Miller <davem@davemloft.net> ---- - drivers/net/ethernet/cavium/thunder/thunder_bgx.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/drivers/net/ethernet/cavium/thunder/thunder_bgx.c -+++ b/drivers/net/ethernet/cavium/thunder/thunder_bgx.c -@@ -1048,7 +1048,7 @@ static int phy_interface_mode(u8 lmac_ty - if (lmac_type == BGX_MODE_QSGMII) - return PHY_INTERFACE_MODE_QSGMII; - if (lmac_type == BGX_MODE_RGMII) -- return PHY_INTERFACE_MODE_RGMII; -+ return PHY_INTERFACE_MODE_RGMII_RXID; - - return PHY_INTERFACE_MODE_SGMII; - } |