]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/mach-sunxi/usb_phy.c
sunxi: prepare for sharing MACH_SUN8I_H3 config symbol
[u-boot] / arch / arm / mach-sunxi / usb_phy.c
index 278587b4933bd0a034e74a85b6af47b14e769447..9bf0b5633d4a5b1462603d1033146248d9c76f12 100644 (file)
@@ -146,10 +146,10 @@ __maybe_unused static void usb_phy_write(struct sunxi_usb_phy *phy, int addr,
        }
 }
 
-#if defined(CONFIG_MACH_SUN8I_H3) || defined(CONFIG_MACH_SUN50I)
+#if defined(CONFIG_MACH_SUNXI_H3_H5) || defined(CONFIG_MACH_SUN50I)
 static void sunxi_usb_phy_config(struct sunxi_usb_phy *phy)
 {
-#if defined CONFIG_MACH_SUN8I_H3
+#if defined CONFIG_MACH_SUNXI_H3_H5
        if (phy->id == 0)
                clrbits_le32(SUNXI_USBPHY_BASE + REG_PHY_UNK_H3, 0x01);
 #endif