aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2022-05-18 18:59:18 +0200
committerÁlvaro Fernández Rojas <noltari@gmail.com>2022-05-19 19:33:00 +0200
commit810eac8c7ffad958345f8fd02f83636afecf7fcd (patch)
tree3d67866822bfec507cdb44b3b9282f292f23e9bc /target
parente508323b1368e9acfae066c8b87fbd749088d2a5 (diff)
downloadupstream-810eac8c7ffad958345f8fd02f83636afecf7fcd.tar.gz
upstream-810eac8c7ffad958345f8fd02f83636afecf7fcd.tar.bz2
upstream-810eac8c7ffad958345f8fd02f83636afecf7fcd.zip
bcm27xx: base-files: align network files
- Use the same order for /etc/board.d/02_network and /lib/preinit/05_set_preinit_iface_brcm2708. - Add missing RPi 400 and CM4 to /lib/preinit/05_set_preinit_iface_brcm2708. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target')
-rw-r--r--target/linux/bcm27xx/base-files/etc/board.d/02_network8
-rw-r--r--target/linux/bcm27xx/base-files/lib/preinit/05_set_preinit_iface_brcm27082
2 files changed, 6 insertions, 4 deletions
diff --git a/target/linux/bcm27xx/base-files/etc/board.d/02_network b/target/linux/bcm27xx/base-files/etc/board.d/02_network
index f279941e1e..b4394f6922 100644
--- a/target/linux/bcm27xx/base-files/etc/board.d/02_network
+++ b/target/linux/bcm27xx/base-files/etc/board.d/02_network
@@ -10,16 +10,16 @@ board_config_update
board=$(board_name)
case "$board" in
-raspberrypi,model-b |\
-raspberrypi,model-b-plus |\
-raspberrypi,model-b-rev2 |\
raspberrypi,2-model-b |\
raspberrypi,2-model-b-rev2 |\
raspberrypi,3-model-b |\
raspberrypi,3-model-b-plus |\
raspberrypi,400 |\
raspberrypi,4-compute-module |\
-raspberrypi,4-model-b)
+raspberrypi,4-model-b |\
+raspberrypi,model-b |\
+raspberrypi,model-b-plus |\
+raspberrypi,model-b-rev2)
ucidef_set_interface_lan "eth0"
;;
diff --git a/target/linux/bcm27xx/base-files/lib/preinit/05_set_preinit_iface_brcm2708 b/target/linux/bcm27xx/base-files/lib/preinit/05_set_preinit_iface_brcm2708
index 269465e301..c52995bd17 100644
--- a/target/linux/bcm27xx/base-files/lib/preinit/05_set_preinit_iface_brcm2708
+++ b/target/linux/bcm27xx/base-files/lib/preinit/05_set_preinit_iface_brcm2708
@@ -9,6 +9,8 @@ set_preinit_iface() {
raspberrypi,2-model-b-rev2 |\
raspberrypi,3-model-b |\
raspberrypi,3-model-b-plus |\
+ raspberrypi,400 |\
+ raspberrypi,4-compute-module |\
raspberrypi,4-model-b |\
raspberrypi,model-b |\
raspberrypi,model-b-plus |\