diff options
author | Nikhil Badola <nikhil.badola@freescale.com> | 2014-09-30 11:22:43 +0530 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2014-11-21 09:28:28 -0800 |
commit | c26c80a1a4e2e2e7e4c9806e9123bf027c02f711 (patch) | |
tree | d8a27a8d561b9cc91781d681fdc8e4796b912981 /arch/powerpc/cpu/mpc85xx | |
parent | 5632d15cf45a6e9f0559c80e1ca675d64f1650bc (diff) | |
download | u-boot-imx-c26c80a1a4e2e2e7e4c9806e9123bf027c02f711.zip u-boot-imx-c26c80a1a4e2e2e7e4c9806e9123bf027c02f711.tar.gz u-boot-imx-c26c80a1a4e2e2e7e4c9806e9123bf027c02f711.tar.bz2 |
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
Signed-off-by: Nikhil Badola <nikhil.badola@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'arch/powerpc/cpu/mpc85xx')
-rw-r--r-- | arch/powerpc/cpu/mpc85xx/cmd_errata.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/cmd_errata.c b/arch/powerpc/cpu/mpc85xx/cmd_errata.c index 3a04a89..349ce52 100644 --- a/arch/powerpc/cpu/mpc85xx/cmd_errata.c +++ b/arch/powerpc/cpu/mpc85xx/cmd_errata.c @@ -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 |