Patchwork USB: Fix USB Kconfig dependency problem on 85xx/QoirQ platforms

login
register
mail settings
Submitter Kumar Gala
Date Oct. 14, 2011, 8:35 p.m.
Message ID <1318624510-24058-1-git-send-email-galak@kernel.crashing.org>
Download mbox | patch
Permalink /patch/119914/
State Accepted
Delegated to: Kumar Gala
Headers show

Comments

Kumar Gala - Oct. 14, 2011, 8:35 p.m.
From: Xu lei <B33228@freescale.com>

For FSL PPC SoCs USB_ARCH_HAS_EHCI currently on depends on PPC_83xx.
However that excludes support for USB on 85xx & QorIQ devices.  Use
FSL_SOC insted which will get us 83xx, 85xx, QorIQ, and 5xxx which all
have the same USB IP on them.

Signed-off-by: Xulei <B33228@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
 drivers/usb/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/drivers/usb/Kconfig b/drivers/usb/Kconfig
index 48f1781..1580d7c 100644
--- a/drivers/usb/Kconfig
+++ b/drivers/usb/Kconfig
@@ -54,7 +54,7 @@  config USB_ARCH_HAS_OHCI
 # some non-PCI hcds implement EHCI
 config USB_ARCH_HAS_EHCI
 	boolean
-	default y if PPC_83xx
+	default y if FSL_SOC
 	default y if PPC_MPC512x
 	default y if SOC_AU1200
 	default y if ARCH_IXP4XX