drivers: usb: fsl: Move USB Errata checking code
authorNikhil Badola <nikhil.badola@freescale.com>
Tue, 30 Sep 2014 05:52:43 +0000 (11:22 +0530)
committerYork Sun <yorksun@freescale.com>
Fri, 21 Nov 2014 17:28:28 +0000 (09:28 -0800)
commitc26c80a1a4e2e2e7e4c9806e9123bf027c02f711
treed8a27a8d561b9cc91781d681fdc8e4796b912981
parent5632d15cf45a6e9f0559c80e1ca675d64f1650bc
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>
arch/powerpc/cpu/mpc85xx/cmd_errata.c
arch/powerpc/include/asm/fsl_errata.h
drivers/usb/host/ehci-fsl.c
include/fsl_usb.h