]> git.baikalelectronics.ru Git - uboot.git/commitdiff
usb: ehci-mx6: Remove MX6Q_ARM2 related ifdefery
authorFabio Estevam <festevam@denx.de>
Thu, 19 May 2022 12:13:58 +0000 (09:13 -0300)
committerStefano Babic <sbabic@denx.de>
Mon, 25 Jul 2022 13:08:23 +0000 (15:08 +0200)
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>
drivers/usb/host/ehci-mx6.c

index 060b02accc5ccad5a7d516c060bca62503266a04..e30449b55e473e6bc148e471cd90ea69377b4396 100644 (file)
@@ -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);