Drop generic erratum_a008997_layerscape() and move its implementation into the SoC specific pendants to make the way free for more SoC support. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- arch/arm/mach-layerscape/errata.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-layerscape/errata.c b/arch/arm/mach-layerscape/errata.c index 8feb98b0f7..e3093c07af 100644 --- a/arch/arm/mach-layerscape/errata.c +++ b/arch/arm/mach-layerscape/errata.c @@ -15,7 +15,7 @@ static inline void set_usb_pcstxswingfull(u32 __iomem *scfg, u32 offset) SCFG_USB_PCSTXSWINGFULL << 9); } -static void erratum_a008997_layerscape(void) +static void erratum_a008997_ls1021a(void) { u32 __iomem *scfg = (u32 __iomem *)LSCH2_SCFG_ADDR; @@ -26,6 +26,7 @@ static void erratum_a008997_ls1046a(void) { u32 __iomem *scfg = (u32 __iomem *)LSCH2_SCFG_ADDR; + set_usb_pcstxswingfull(scfg, SCFG_USB3PRM2CR_USB1); set_usb_pcstxswingfull(scfg, SCFG_USB3PRM2CR_USB2); set_usb_pcstxswingfull(scfg, SCFG_USB3PRM2CR_USB3); } @@ -121,7 +122,6 @@ static void layerscape_errata(void) erratum_a008850_early(); erratum_a009008_layerscape(); erratum_a009798_layerscape(); - erratum_a008997_layerscape(); } void ls1046a_errata(void) @@ -136,6 +136,7 @@ void ls1046a_errata(void) void ls1021a_errata(void) { layerscape_errata(); + erratum_a008997_ls1021a(); erratum_a009007_ls1021a(); erratum_a009008_ls1021a(); } -- 2.39.2