mirror of https://github.com/OpenIPC/firmware.git
23 lines
423 B
Bash
Executable File
23 lines
423 B
Bash
Executable File
#!/bin/sh
|
|
CONFIG=
|
|
|
|
# SSC338Q CamHi
|
|
if [ "$CONFIG" = "ssc338q_lite_defconfig" ] || [ "$CONFIG" = "ssc338q_sdcard_defconfig" ]; then
|
|
modprobe 8733bu
|
|
fi
|
|
|
|
# HI3516EV300 CamHi
|
|
if [ "$CONFIG" = "hi3516ev300_ultimate_defconfig" ]; then
|
|
devmem 0x100C0080 32 0x530
|
|
gpio clear 7
|
|
gpio unexport 7
|
|
modprobe mt7601usta
|
|
fi
|
|
|
|
# T21 BJS
|
|
if [ "$CONFIG" = "t21_lite_defconfig" ]; then
|
|
gpio clear 50
|
|
gpio unexport 50
|
|
modprobe 8188fu
|
|
fi
|