diff options
author | Henryk Heisig <hyniu@o2.pl> | 2016-06-12 23:43:51 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-06-13 22:51:43 +0200 |
commit | 75af98123973e1abb919213fb7c365bfaf322610 (patch) | |
tree | 52ddd68e16a9d55b36d015633f5b74fa02829ee5 /target/linux/ramips/base-files/lib | |
parent | 1c00c09eb6af88a0a96451f8da6108171c46a42d (diff) | |
download | upstream-75af98123973e1abb919213fb7c365bfaf322610.tar.gz upstream-75af98123973e1abb919213fb7c365bfaf322610.tar.bz2 upstream-75af98123973e1abb919213fb7c365bfaf322610.zip |
ramips/base-files: Add support for Archer C50
Signed-off-by: Henryk Heisig <hyniu@o2.pl>
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 567e5066f8..bd4f33d3d5 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -82,6 +82,9 @@ ramips_board_detect() { *"C20i") name="c20i" ;; + *"C50") + name="c50" + ;; *"Carambola") name="carambola" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index c71fc64917..0b3d8c7406 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -182,7 +182,8 @@ platform_check_image() { } return 0 ;; - c20i) + c20i|\ + c50) [ "$magic" != "03000000" ] && { echo "Invalid image type." return 1 |