mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-16 23:07:00 +00: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
2 changed files with 2 additions and 8 deletions
|
@ -13,7 +13,7 @@
|
|||
/ {
|
||||
aliases {
|
||||
mmc0 = &mmc0;
|
||||
#if CONFIG_MMC_SUNXI_EXTRA_SLOT == 2
|
||||
#if CONFIG_MMC_SUNXI_SLOT_EXTRA == 2
|
||||
mmc1 = &mmc2;
|
||||
#endif
|
||||
};
|
||||
|
|
|
@ -698,13 +698,7 @@ int g_dnl_board_usb_cable_connected(void)
|
|||
return ret;
|
||||
}
|
||||
|
||||
ret = sun4i_usb_phy_vbus_detect(&phy);
|
||||
if (ret == 1) {
|
||||
pr_err("A charger is plugged into the OTG\n");
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
return ret;
|
||||
return sun4i_usb_phy_vbus_detect(&phy);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue