x86: Add APU3 reference to x86 board.d
authorKristian Evensen <kristian.evensen@gmail.com>
Thu, 15 Mar 2018 12:30:27 +0000 (13:30 +0100)
committerJohn Crispin <john@phrozen.org>
Fri, 18 May 2018 07:17:24 +0000 (09:17 +0200)
There is a new APU-model available, APU3. The device is configured in
the same way as the APU1 and APU2, so the same LED/network setup can be
used.

I considered changing the case to pc-engines-apu*, but I chose to follow
the existing pattern and add the full board name.

Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com>
target/linux/x86/base-files/etc/board.d/01_leds
target/linux/x86/base-files/etc/board.d/02_network

index 04e11705ac52ab26a8347a7d9d481e17b6449136..25dc4aeeb1b7e3e6281e9eeadeb57742cca12af1 100755 (executable)
@@ -8,7 +8,7 @@
 board_config_update
 
 case "$(board_name)" in
-pc-engines-apu|pc-engines-apu2)
+pc-engines-apu|pc-engines-apu2|pc-engines-apu3)
        ucidef_set_led_netdev "wan" "WAN" "apu2:green:led3" "eth0"
        ucidef_set_led_netdev "lan" "LAN" "apu2:green:led2" "br-lan"
        ucidef_set_led_default "diag" "DIAG" "apu2:green:power" "1"
index bea696d8fff541094d0b3a36cbed4f682222de3b..c6e381b946d03887cb941e90db2ccbb2f918fca4 100755 (executable)
@@ -9,7 +9,7 @@
 board_config_update
 
 case "$(board_name)" in
-pc-engines-apu|pc-engines-apu2)
+pc-engines-apu|pc-engines-apu2|pc-engines-apu3)
        ucidef_set_interfaces_lan_wan "eth1 eth2" "eth0"
        ;;
 traverse-technologies-geos)