aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-02-13 15:18:04 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-02-13 15:18:04 +0000
commit99c019fb0de82809026922a591e3c4999f845163 (patch)
treeacae6b5465cdfdf18c647754f532f297ddd0c3a7 /target/linux/ramips/base-files/lib
parent97e641a0e63ea41111ed397dfae23ad16b8490ab (diff)
downloadupstream-99c019fb0de82809026922a591e3c4999f845163.tar.gz
upstream-99c019fb0de82809026922a591e3c4999f845163.tar.bz2
upstream-99c019fb0de82809026922a591e3c4999f845163.zip
ramips: add preliminary support for the Asus RT-N56U board
SVN-Revision: 30498
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rw-r--r--target/linux/ramips/base-files/lib/preinit/06_set_iface_mac1
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
3 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
index 121b471f4f..9f5c02446c 100644
--- a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
+++ b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
@@ -10,6 +10,7 @@ preinit_set_mac_address() {
case $(ramips_board_name) in
bc2 |\
nw718 |\
+ rt-n56u |\
esr-9753)
mac=$(ramips_get_mac_binary factory 4)
mac=$(maccalc or "$mac" "02:00:00:00:00:00")
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 5204820fb9..9c1a7dcb57 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -101,6 +101,9 @@ ramips_board_name() {
*"RT-N15")
name="rt-n15"
;;
+ *"RT-N56U")
+ name="rt-n56u"
+ ;;
*"Sparklan WCR-150GN")
name="wcr-150gn"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 2751fdda29..2bcfa4b821 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -28,6 +28,7 @@ platform_check_image() {
omni-emb | \
rt-g32-b1 | \
rt-n15 | \
+ rt-n56u | \
w502u |\
wr6202 |\
v22rw-2x2 | \