1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-24 07:56:21 +00:00
Lakka-LibreELEC/packages/linux-firmware/brcmfmac_sdio-firmware/scripts/brcmfmac-firmware-setup
Michael Klein 88b9f1b6b6 brcmfmac_sdio-firmware: Banana Pi M2 Zero fix
Use BCM43430A1.vim for Banana Pi M2 Zero
2020-11-21 00:37:47 +01:00

16 lines
534 B
Bash
Executable File

#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
DTNAME=$(/usr/bin/dtname)
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
fi