Merge pull request #4678 from mklein-de/bananapi-m2-zero.bt-firmware-fix

brcmfmac_sdio-firmware: Banana Pi M2 Zero fix
This commit is contained in:
Christian Hewitt 2020-11-21 04:00:12 +04:00 committed by GitHub
commit 1e75df4c77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,10 @@
DTNAME=$(/usr/bin/dtname)
if [ "$DTNAME" = "khadas,vim" -o "$DTNAME" = "xunlong,orangepi-win" -o "$DTNAME" = "sinovoip,bpi-m2-ultra" ]; then
if [ "$DTNAME" = "khadas,vim" -o \
"$DTNAME" = "xunlong,orangepi-win" -o \
"$DTNAME" = "sinovoip,bpi-m2-ultra" -o \
"$DTNAME" = "sinovoip,bpi-m2-zero" ]; then
ln -sf /usr/lib/kernel-overlays/base/lib/firmware/brcm/BCM43430A1.vim /usr/lib/firmware/brcm/BCM43430A1.hcd
else
ln -sf /usr/lib/kernel-overlays/base/lib/firmware/brcm/BCM43430A1.def /usr/lib/firmware/brcm/BCM43430A1.hcd