summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-02-13 15:18:04 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-02-13 15:18:04 +0000
commit222337418516413e4f9c968bc3c548e4f58095c4 (patch)
tree0614a86379744970daf640486d7e1fe4fdd9eec7 /target/linux/ramips/base-files/lib
parent10a983eea129055a6614ec0ddeabb6b426b75b15 (diff)
ramips: add preliminary support for the Asus RT-N56U board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30498 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 121b471f4..9f5c02446 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 5204820fb..9c1a7dcb5 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 2751fdda2..2bcfa4b82 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 | \