]> git.sur5r.net Git - u-boot/blobdiff - drivers/usb/host/ehci-sunxi.c
sunxi: prepare for sharing MACH_SUN8I_H3 config symbol
[u-boot] / drivers / usb / host / ehci-sunxi.c
index 5bb97ff45b982ed547153b3f6b885050527e2673..068f24f48392810401a609edd7596ba1e7791a48 100644 (file)
@@ -45,7 +45,7 @@ static int ehci_usb_probe(struct udevice *dev)
         * clocks resp. phys.
         */
        priv->ahb_gate_mask = 1 << AHB_GATE_OFFSET_USB_EHCI0;
-#if defined(CONFIG_MACH_SUN8I_H3) || defined(CONFIG_MACH_SUN50I)
+#if defined(CONFIG_MACH_SUNXI_H3_H5) || defined(CONFIG_MACH_SUN50I)
        extra_ahb_gate_mask = 1 << AHB_GATE_OFFSET_USB_OHCI0;
 #endif
        priv->phy_index = ((uintptr_t)hccr - SUNXI_USB1_BASE) / BASE_DIST;