diff options
author | John Crispin <blogic@openwrt.org> | 2014-08-03 11:13:52 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-08-03 11:13:52 +0000 |
commit | 41079810695c2f2cecbb4895532635e9e33f0e45 (patch) | |
tree | 3e5363c39377daa41129a83aa785952838bba5ae /target/linux/ramips/base-files/lib | |
parent | 89be00c4f0d888bee7235ee2988270492baaa7c4 (diff) | |
download | master-187ad058-41079810695c2f2cecbb4895532635e9e33f0e45.tar.gz master-187ad058-41079810695c2f2cecbb4895532635e9e33f0e45.tar.bz2 master-187ad058-41079810695c2f2cecbb4895532635e9e33f0e45.zip |
ramips:support Lenovo AC1200 Wireless router
Lenovo AC1200 series has two types, Y1 and Y1S.
Y1S has 256MB DDR2, Y1 only has 128MB and Y1 have no Giga Port.
Signed-off-by: Lintel <lintel.huang@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41961 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rwxr-xr-x | target/linux/ramips/base-files/lib/ramips.sh | 6 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/lib/upgrade/platform.sh | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index a6dcbca2fe..a24842e29f 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -325,6 +325,12 @@ ramips_board_detect() { *"ZBT WR8305RT") name="wr8305rt" ;; + *"Lenovo Y1") + name="y1" + ;; + *"Lenovo Y1S") + name="y1s" + ;; *) name="generic" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index a39596d2bf..08b3745425 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -96,7 +96,9 @@ platform_check_image() { wrtnode |\ x5 |\ x8 |\ - zbt-wa05) + zbt-wa05 |\ + y1 |\ + y1s) [ "$magic" != "27051956" ] && { echo "Invalid image type." return 1 |