Skip to content

Commit

Permalink
USB: ehci-fsl: Update ifdef check to work on 64-bit ppc
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kumar Gala authored and Greg Kroah-Hartman committed Jul 17, 2012
1 parent f9943c2 commit 08d7660
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/host/ehci-fsl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 08d7660

Please sign in to comment.