diff options
author | John Crispin <john@openwrt.org> | 2014-08-03 11:13:52 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-08-03 11:13:52 +0000 |
commit | 04e4ff282ad359485afe34deb658f36ffb34c16f (patch) | |
tree | 44531b4cdef2083cb397c53fe24ba3a0d1834766 /target/linux/ramips/base-files/lib | |
parent | 44cb68c038ccef470e346c6fd9d0919a82fe68d9 (diff) | |
download | upstream-04e4ff282ad359485afe34deb658f36ffb34c16f.tar.gz upstream-04e4ff282ad359485afe34deb658f36ffb34c16f.tar.bz2 upstream-04e4ff282ad359485afe34deb658f36ffb34c16f.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>
SVN-Revision: 41961
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 |