Revision | 96e85ba0c202f77adac5c781b9de7e378efbb7b8 (tree) |
---|---|
Zeit | 2022-07-25 22:08:23 |
Autor | Fabio Estevam <festevam@denx...> |
Commiter | Stefano Babic |
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>
@@ -272,12 +272,7 @@ static void usb_oc_config(struct usbnc_regs *usbnc, int index) | ||
272 | 272 | { |
273 | 273 | void __iomem *ctrl = (void __iomem *)(&usbnc->ctrl[index]); |
274 | 274 | |
275 | -#if CONFIG_MACH_TYPE == MACH_TYPE_MX6Q_ARM2 | |
276 | - /* mx6qarm2 seems to required a different setting*/ | |
277 | - clrbits_le32(ctrl, UCTRL_OVER_CUR_POL); | |
278 | -#else | |
279 | 275 | setbits_le32(ctrl, UCTRL_OVER_CUR_POL); |
280 | -#endif | |
281 | 276 | |
282 | 277 | setbits_le32(ctrl, UCTRL_OVER_CUR_DIS); |
283 | 278 |