[ -e /lib/firmware/$FIRMWARE ] && exit 0
[ -e /lib/firmware/$FIRMWARE ] && exit 0
+. /lib/ramips.sh
+
+board=$(ramips_board_name)
+
case "$FIRMWARE" in
"RT288X.eeprom" | \
"RT305X.eeprom")
case "$FIRMWARE" in
"RT288X.eeprom" | \
"RT305X.eeprom")
- . /lib/ramips.sh
-
- local board=$(ramips_board_name)
-
case $board in
dir-300-b1 | \
dir-600-b1 | \
case $board in
dir-300-b1 | \
dir-600-b1 | \
+
+"rt2x00pci_1_0.eeprom")
+ case $board in
+ rt-n56u)
+ rt2x00_eeprom_extract "factory" 32768 272
+ ;;
+ esac
+ ;;