• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revision96e85ba0c202f77adac5c781b9de7e378efbb7b8 (tree)
Zeit2022-07-25 22:08:23
AutorFabio Estevam <festevam@denx...>
CommiterStefano Babic

Log Message

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>

Ändern Zusammenfassung

Diff

--- a/drivers/usb/host/ehci-mx6.c
+++ b/drivers/usb/host/ehci-mx6.c
@@ -272,12 +272,7 @@ static void usb_oc_config(struct usbnc_regs *usbnc, int index)
272272 {
273273 void __iomem *ctrl = (void __iomem *)(&usbnc->ctrl[index]);
274274
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
279275 setbits_le32(ctrl, UCTRL_OVER_CUR_POL);
280-#endif
281276
282277 setbits_le32(ctrl, UCTRL_OVER_CUR_DIS);
283278