mirror of https://github.com/OpenIPC/firmware.git
Add gpio profiles
parent
c120c9ca11
commit
2a778898a6
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
soc=$(fw_printenv -n soc) || (>&2 echo "SOC not defined in U-Boot ENV"; exit 1)
|
soc=$(fw_printenv -n soc) || (>&2 echo "SOC not defined in U-Boot ENV"; exit 1)
|
||||||
vendor=$(fw_printenv -n vendor) || (>&2 echo "Vendor not defined in U-Boot ENV"; exit 1)
|
vendor=$(fw_printenv -n vendor) || (>&2 echo "Vendor not defined in U-Boot ENV"; exit 1)
|
||||||
# devid=$(fw_printenv -n devid) || (>&2 echo "SOC not defined in U-Boot ENV"; exit 1)
|
# devid=$(fw_printenv -n devid) || (>&2 echo "Device ID not defined in U-Boot ENV"; exit 1)
|
||||||
|
|
||||||
case ${vendor} in
|
case ${vendor} in
|
||||||
anjoy)
|
anjoy)
|
||||||
|
@ -12,7 +12,7 @@ case ${vendor} in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
camhi|xin)
|
camhi|hichip|xin)
|
||||||
case ${soc} in
|
case ${soc} in
|
||||||
hi3516ev200|gk7205v200)
|
hi3516ev200|gk7205v200)
|
||||||
gpio="usb_ena=-9"
|
gpio="usb_ena=-9"
|
||||||
|
|
Loading…
Reference in New Issue