target/rockchip: radxa e52c retry rtc binding
This commit is contained in:
parent
f799417d70
commit
5082cc8432
@ -50,6 +50,10 @@ preinit_rebind_drivers() {
|
|||||||
# rebind e54c hym8563 if previously bound failed
|
# rebind e54c hym8563 if previously bound failed
|
||||||
[ -e /sys/bus/i2c/drivers/rtc-hym8563/4-0051 ] || { echo "4-0051" > /sys/bus/i2c/drivers/rtc-hym8563/bind; }
|
[ -e /sys/bus/i2c/drivers/rtc-hym8563/4-0051 ] || { echo "4-0051" > /sys/bus/i2c/drivers/rtc-hym8563/bind; }
|
||||||
;;
|
;;
|
||||||
|
radxa,e52c)
|
||||||
|
# rebind e52c hym8563 if previously bound failed
|
||||||
|
[ -e /sys/bus/i2c/drivers/rtc-hym8563/5-0051 ] || { echo "5-0051" > /sys/bus/i2c/drivers/rtc-hym8563/bind; }
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user