mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
usb: ehci-mx6: Remove MX6Q_ARM2 related ifdefery
The imx6q arm2 board support has been removed from U-Boot as it did not get converted to DM. Remove the MX6Q_ARM2 related ifdefery in the driver. Signed-off-by: Fabio Estevam <festevam@denx.de>
This commit is contained in:
parent
538f6643b0
commit
96e85ba0c2
1 changed files with 0 additions and 5 deletions
|
@ -272,12 +272,7 @@ static void usb_oc_config(struct usbnc_regs *usbnc, int index)
|
|||
{
|
||||
void __iomem *ctrl = (void __iomem *)(&usbnc->ctrl[index]);
|
||||
|
||||
#if CONFIG_MACH_TYPE == MACH_TYPE_MX6Q_ARM2
|
||||
/* mx6qarm2 seems to required a different setting*/
|
||||
clrbits_le32(ctrl, UCTRL_OVER_CUR_POL);
|
||||
#else
|
||||
setbits_le32(ctrl, UCTRL_OVER_CUR_POL);
|
||||
#endif
|
||||
|
||||
setbits_le32(ctrl, UCTRL_OVER_CUR_DIS);
|
||||
|
||||
|
|
Loading…
Reference in a new issue