diff options
author | John Crispin <john@openwrt.org> | 2015-11-24 18:29:02 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-11-24 18:29:02 +0000 |
commit | e9baf8265bb8938169b882deff2026a7389bd9f7 (patch) | |
tree | 7e2034802bd38edbe550f5a70efc305563d8d6ea /target/linux/ramips/base-files/lib | |
parent | 12b6f4cf71787950b606dd61f4a649a73453f2f8 (diff) | |
download | mtk-20170518-e9baf8265bb8938169b882deff2026a7389bd9f7.zip mtk-20170518-e9baf8265bb8938169b882deff2026a7389bd9f7.tar.gz mtk-20170518-e9baf8265bb8938169b882deff2026a7389bd9f7.tar.bz2 |
ramips: add support for Youku YK1
Changes since V1:
I resend this patch for current trunk.The former V1 patch is for CC branch.
Signed-off-by: Shonn Lu <countrysideboy@qq.com>
SVN-Revision: 47617
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rwxr-xr-x | target/linux/ramips/base-files/lib/ramips.sh | 3 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/lib/upgrade/platform.sh | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index a1bcb72..d6fdeb9 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -460,6 +460,9 @@ ramips_board_detect() { *"ZBT-WR8305RT") name="zbt-wr8305rt" ;; + *"YK1") + name="youku-yk1" + ;; *) 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 0e8d619..0b9dd43 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -134,7 +134,8 @@ platform_check_image() { zbt-wa05|\ zbt-wg2626|\ zbt-wr8305rt|\ - zte-q7) + zte-q7|\ + youku-yk1) [ "$magic" != "27051956" ] && { echo "Invalid image type." return 1 |