[PATCH 07/19] ARM: layerscape: drop wrong errata workaround
Sascha Hauer
s.hauer at pengutronix.de
Thu Jan 4 06:17:34 PST 2024
set_usb_txvreftune() works on the USB Parameter 1 Control Register.
USB Parameter 2 Control Register has a different register layout and
calling set_usb_txvreftune() on it is wrong. Drop the bogus errata
workaround.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
arch/arm/mach-layerscape/errata.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/arch/arm/mach-layerscape/errata.c b/arch/arm/mach-layerscape/errata.c
index c03c092755..a193c061bc 100644
--- a/arch/arm/mach-layerscape/errata.c
+++ b/arch/arm/mach-layerscape/errata.c
@@ -71,13 +71,6 @@ static void erratum_a009008_ls1046a(void)
set_usb_txvreftune(scfg, SCFG_USB3PRM1CR_USB3);
}
-static void erratum_a009008_ls1021a(void)
-{
- u32 __iomem *scfg = IOMEM(LSCH2_SCFG_ADDR);
-
- set_usb_txvreftune(scfg, SCFG_USB3PRM2CR_USB1);
-}
-
static inline void set_usb_sqrxtune(u32 __iomem *scfg, u32 offset)
{
scfg_clrbits32(scfg + offset / 4, SCFG_USB_SQRXTUNE_MASK << 23);
@@ -139,7 +132,6 @@ void ls1021a_errata(void)
erratum_a009798_ls1021a();
erratum_a008997_ls1021a();
erratum_a009007_ls1021a();
- erratum_a009008_ls1021a();
}
static void erratum_a008850_post(void)
--
2.39.2
More information about the barebox
mailing list