mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-18 14:48:17 +01:00
Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-sunxi
This fixes two regressions: eMMC operation on boards with WiFi (so using three MMC devices), and a repeated wrong error message in USB gadget mode (fastboot, ums).
This commit is contained in:
commit
1530ad5bec
@ -13,7 +13,7 @@
|
|||||||
/ {
|
/ {
|
||||||
aliases {
|
aliases {
|
||||||
mmc0 = &mmc0;
|
mmc0 = &mmc0;
|
||||||
#if CONFIG_MMC_SUNXI_EXTRA_SLOT == 2
|
#if CONFIG_MMC_SUNXI_SLOT_EXTRA == 2
|
||||||
mmc1 = &mmc2;
|
mmc1 = &mmc2;
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
@ -698,13 +698,7 @@ int g_dnl_board_usb_cable_connected(void)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = sun4i_usb_phy_vbus_detect(&phy);
|
return sun4i_usb_phy_vbus_detect(&phy);
|
||||||
if (ret == 1) {
|
|
||||||
pr_err("A charger is plugged into the OTG\n");
|
|
||||||
return -ENODEV;
|
|
||||||
}
|
|
||||||
|
|
||||||
return ret;
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user