Update wireless-configuration

pull/720/head
Viktor 2023-04-09 21:43:59 +02:00
parent c7b1f8497a
commit d25df62a6e
1 changed files with 7 additions and 8 deletions

View File

@ -2,22 +2,21 @@
CONFIG= CONFIG=
# SSC338Q CamHi # SSC338Q CamHi
if [ "$CONFIG" = "ssc338q_sdcard_defconfig" ]; then if [ "$CONFIG" = "ssc338q_lite_defconfig" ] || [ "$CONFIG" = "ssc338q_sdcard_defconfig" ]; then
modprobe 8733bu modprobe 8733bu
fi fi
# HI3516EV300 CamHi # HI3516EV300 CamHi
if [ "$CONFIG" = "hi3516ev300_ultimate_defconfig" ]; then if [ "$CONFIG" = "hi3516ev300_ultimate_defconfig" ]; then
devmem 0x100C0080 32 0x530 devmem 0x100C0080 32 0x530
echo 7 > /sys/class/gpio/export gpio clear 7
echo out > /sys/class/gpio/gpio7/direction gpio unexport 7
echo 0 > /sys/class/gpio/gpio7/value
echo 7 > /sys/class/gpio/unexport
modprobe mt7601usta modprobe mt7601usta
fi fi
# Ingenic T21 # T21 BJS
if [ "$CONFIG" = "t21_lite_defconfig" ]; then if [ "$CONFIG" = "t21_lite_defconfig" ]; then
gpio clear 50 gpio clear 50
modprobe 8188fu gpio unexport 50
modprobe 8188fu
fi fi