aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/base-files
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2013-01-04 14:47:57 +0000
committerJonas Gorski <jogo@openwrt.org>2013-01-04 14:47:57 +0000
commite952eaa112417637d67f1774e641c1cade49ed23 (patch)
tree8ecbc1eebc47c8688b6448ca9f957c0adf838356 /target/linux/brcm63xx/base-files
parent0e58173fa51a079bf5f3f6ac9d3e7a956b991ba7 (diff)
downloadupstream-e952eaa112417637d67f1774e641c1cade49ed23.tar.gz
upstream-e952eaa112417637d67f1774e641c1cade49ed23.tar.bz2
upstream-e952eaa112417637d67f1774e641c1cade49ed23.zip
bcm63xx: Add Huawei HG556a support
Add Huawei EchoLife HG556a support. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> [jogo@openwrt.org: added some code style fixes] Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 35011
Diffstat (limited to 'target/linux/brcm63xx/base-files')
-rw-r--r--target/linux/brcm63xx/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom5
-rwxr-xr-xtarget/linux/brcm63xx/base-files/etc/uci-defaults/network1
-rwxr-xr-xtarget/linux/brcm63xx/base-files/lib/brcm63xx.sh5
3 files changed, 10 insertions, 1 deletions
diff --git a/target/linux/brcm63xx/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/brcm63xx/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
index c03ba4c6ec..eeb66e0d18 100644
--- a/target/linux/brcm63xx/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
+++ b/target/linux/brcm63xx/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
@@ -29,8 +29,11 @@ rt2x00_eeprom_extract() {
board=$board_name
case "$FIRMWARE" in
-"RT3062.eeprom" )
+"rt2x00.eeprom" )
case $board in
+ HW556_A)
+ rt2x00_eeprom_extract "cal_data" 130560 272
+ ;;
*)
rt2x00_eeprom_die "board $board is not supported yet"
;;
diff --git a/target/linux/brcm63xx/base-files/etc/uci-defaults/network b/target/linux/brcm63xx/base-files/etc/uci-defaults/network
index 00914b3e3f..08b8558006 100755
--- a/target/linux/brcm63xx/base-files/etc/uci-defaults/network
+++ b/target/linux/brcm63xx/base-files/etc/uci-defaults/network
@@ -27,6 +27,7 @@ CPVA642 |\
CT536_CT5621 |\
D-4P-W |\
"F@ST2604" |\
+HW556* |\
NB6 |\
SPW303V |\
SPW500V |\
diff --git a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh
index 18df042610..999f775171 100755
--- a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh
+++ b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh
@@ -56,6 +56,11 @@ brcm63xx_detect() {
brcm63xx_has_reset_button="true"
ifname=eth1
;;
+ HW556*)
+ status_led="HW556:red:power"
+ brcm63xx_has_reset_button="true"
+ ifname=eth0
+ ;;
96348GW-11)
status_led="power"
brcm63xx_has_reset_button="true"