mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 14:23:38 +00:00

Make it into a direct brush package, making it convenient for software to brush into EMMC without the need for SD or USB drive u-boot: https://github.com/shiyu1314/u-boot-onecloud/releases SD firmware conversion to direct flash firmware: https://github.com/shiyu1314/openwrt-onecloud Signed-off-by: Li Xueli <1052672227@qq.com>
19 lines
560 B
Diff
19 lines
560 B
Diff
--- a/drivers/phy/amlogic/phy-meson8b-usb2.c
|
|
+++ b/drivers/phy/amlogic/phy-meson8b-usb2.c
|
|
@@ -197,13 +197,13 @@ static int phy_meson8b_usb2_power_on(str
|
|
udelay(ACA_ENABLE_COMPLETE_TIME);
|
|
|
|
regmap_read(priv->regmap, REG_ADP_BC, ®);
|
|
- if (reg & REG_ADP_BC_ACA_PIN_FLOAT) {
|
|
+ /*if (reg & REG_ADP_BC_ACA_PIN_FLOAT) {
|
|
dev_warn(&phy->dev, "USB ID detect failed!\n");
|
|
clk_disable_unprepare(priv->clk_usb);
|
|
clk_disable_unprepare(priv->clk_usb_general);
|
|
reset_control_rearm(priv->reset);
|
|
return -EINVAL;
|
|
- }
|
|
+ }*/
|
|
}
|
|
}
|
|
|