Skip to content

Commit

Permalink
bcm27xx: base-files: align network files
Browse files Browse the repository at this point in the history
- 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>
  • Loading branch information
Noltari committed May 19, 2022
1 parent e508323 commit 810eac8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions target/linux/bcm27xx/base-files/etc/board.d/02_network
Expand Up @@ -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"
;;

Expand Down
Expand Up @@ -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 |\
Expand Down

0 comments on commit 810eac8

Please sign in to comment.