From 6fd8e0f943a0e8216daf238e015b6a311512d4ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Sun, 9 Apr 2023 21:01:11 +0200 Subject: bmips: add subtargets for each SoC MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit BMIPS is a generic arch that can be used for multiple Broadcom SoCs, each one with its own specific drivers, so instead of having a huge kernel supporting all of them, let's switch to a subtarget per SoC like other OpenWrt targets. Signed-off-by: Álvaro Fernández Rojas --- .../bmips/bcm6368/base-files/etc/uci-defaults/09_fix_crc | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 target/linux/bmips/bcm6368/base-files/etc/uci-defaults/09_fix_crc (limited to 'target/linux/bmips/bcm6368/base-files/etc/uci-defaults/09_fix_crc') diff --git a/target/linux/bmips/bcm6368/base-files/etc/uci-defaults/09_fix_crc b/target/linux/bmips/bcm6368/base-files/etc/uci-defaults/09_fix_crc new file mode 100644 index 0000000000..c66e4169fd --- /dev/null +++ b/target/linux/bmips/bcm6368/base-files/etc/uci-defaults/09_fix_crc @@ -0,0 +1,11 @@ +# SPDX-License-Identifier: GPL-2.0-or-later + +. /lib/functions.sh + +case "$(board_name)" in +comtrend,vr-3025u) + mtd fixtrx firmware + ;; +esac + +exit 0 -- cgit v1.2.3