mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-24 07:56:21 +00:00
88b9f1b6b6
Use BCM43430A1.vim for Banana Pi M2 Zero
16 lines
534 B
Bash
Executable File
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
|