summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-fsl.c
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2012-07-10 06:58:48 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-07-16 17:11:12 -0700
commit08d7660d45bc3e14b0fafe2e891ca50b4b18591a (patch)
treecf5ca211871b309d5f6423b31d203c26b95fceb2 /drivers/usb/host/ehci-fsl.c
parentf9943c2596c76e6d5c032d13edb735a73b0cc582 (diff)
downloadblackbird-op-linux-08d7660d45bc3e14b0fafe2e891ca50b4b18591a.tar.gz
blackbird-op-linux-08d7660d45bc3e14b0fafe2e891ca50b4b18591a.zip
USB: ehci-fsl: Update ifdef check to work on 64-bit ppc
We need to use CONFIG_FSL_SOC_BOOKE instead of CONFIG_PPC_85xx as CONFIG_PPC_85xx isn't defined when we build support for 64-bit embedded FSL PPC SoCs. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ehci-fsl.c')
-rw-r--r--drivers/usb/host/ehci-fsl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c
index ab52db684b63..b7451b29c5ac 100644
--- a/drivers/usb/host/ehci-fsl.c
+++ b/drivers/usb/host/ehci-fsl.c
@@ -313,7 +313,7 @@ static void ehci_fsl_usb_setup(struct ehci_hcd *ehci)
}
if (pdata->have_sysif_regs) {
-#ifdef CONFIG_PPC_85xx
+#ifdef CONFIG_FSL_SOC_BOOKE
out_be32(non_ehci + FSL_SOC_USB_PRICTRL, 0x00000008);
out_be32(non_ehci + FSL_SOC_USB_AGECNTTHRSH, 0x00000080);
#else
OpenPOWER on IntegriCloud