lantiq: do not "local" variables outside of a function
[openwrt/openwrt.git] / target / linux / lantiq / base-files / etc / hotplug.d / firmware / 10-rt2x00-eeprom
index 5664c13ea81a3e8dadbfd1710772049c2e04d5ba..3aa5de4d609847472f20c89ec815308ecf61f630 100644 (file)
@@ -33,9 +33,9 @@ rt2x00_eeprom_extract() {
 
 case "$FIRMWARE" in
 "RT2860.eeprom" )
-       local board=$(lantiq_board_name)
+       board=$(lantiq_board_name)
        case $board in
-       ARV7510PW22|ARV7519PW|ARV752DPW|ARV752DPW22)
+       ARV7506PW11|ARV7510PW22|ARV7519PW|ARV752DPW|ARV752DPW22|VGV7519)
                rt2x00_eeprom_extract "board_config" 520 256 1
                ;;
        ARV7525PW)
@@ -46,4 +46,15 @@ case "$FIRMWARE" in
                ;;
        esac
        ;;
+"RT3062.eeprom" )
+       board=$(lantiq_board_name)
+       case $board in
+       VGV7510KW22)
+               rt2x00_eeprom_extract "board_config" 520 256 1
+               ;;
+       *)
+               rt2x00_eeprom_die "board $board is not supported yet"
+               ;;
+       esac
+       ;;
 esac