drivers: usb: fsl: Move USB Errata checking code
Subsystems (3)
PATCH 1/3 drivers: usb: fsl: Move USB Errata checking code
Move USB Errata checking code from "arch/powerpc" to architecture independent file "fsl_usb.h" so that errata(s) become independent of the architecture. For each erratum checking function for PPC arch, define a nop function for non PPC arch for successful compilation in either case
--- arch/powerpc/cpu/mpc85xx/cmd_errata.c | 1 + arch/powerpc/include/asm/fsl_errata.h | 55 ----------------------------- drivers/usb/host/ehci-fsl.c | 2 +- include/fsl_usb.h | 66 +++++++++++++++++++++++++++++++++++ 4 files changed, 68 insertions(+), 56 deletions(-)
arch/powerpc/cpu/mpc85xx/cmd_errata.c +1 -0
@@ -9,6 +9,7 @@#include <linux/compiler.h> #include <asm/fsl_errata.h> #include <asm/processor.h> +#include <fsl_usb.h> #include "fsl_corenet_serdes.h" #ifdef CONFIG_SYS_FSL_ERRATUM_A004849
arch/powerpc/include/asm/fsl_errata.h +0 -55
59 lines not on this page · raw message
drivers/usb/host/ehci-fsl.c +1 -1
@@ -14,7 +14,7 @@#include <asm/io.h> #include <usb/ehci-fsl.h> #include <hwconfig.h> -#include <asm/fsl_errata.h> +#include <fsl_usb.h> #include "ehci.h"
include/fsl_usb.h +66 -0
70 lines not on this page · raw message
Signature · 1 line
1.7.11.7
PATCH 1/3 drivers: usb: fsl: Move USB Errata checking code
Quoted 5 lines · Nikhil Badola
Move USB Errata checking code from "
arch/powerpc" to architecture independent file "fsl_usb.h" so that errata(s) become independent of the architecture. For each erratum checking function for PPC arch, define a nop function for non PPC arch for successful compilation in either case
Quoted 8 lines
Signed-off-by Nikhil Badola <[email protected]>--- arch/powerpc/cpu/mpc85xx/cmd_errata.c | 1 + arch/powerpc/include/asm/fsl_errata.h | 55 ----------------------------- drivers/usb/host/ehci-fsl.c | 2 +- include/fsl_usb.h | 66 +++++++++++++++++++++++++++++++++++ 4 files changed, 68 insertions(+), 56 deletions(-)
Applied to u-boot-fsl-qoriq master. Awaiting upstream. Thanks.
York