aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ipq806x/base-files/lib/upgrade/platform.sh')
-rw-r--r--target/linux/ipq806x/base-files/lib/upgrade/platform.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/ipq806x/base-files/lib/upgrade/platform.sh b/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
index a181f13b43..2b6f61d7be 100644
--- a/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
@@ -8,6 +8,7 @@ platform_check_image() {
case "$board" in
ap148 |\
d7800 |\
+ ea8500 |\
r7500)
nand_do_platform_check $board $1
return $?;
@@ -34,6 +35,9 @@ platform_pre_upgrade() {
r7500)
nand_do_upgrade "$1"
;;
+ ea8500)
+ linksys_preupgrade "$1"
+ ;;
esac
}
@@ -46,5 +50,8 @@ platform_do_upgrade() {
MTD_CONFIG_ARGS="-s 0x200000"
default_do_upgrade "$ARGV"
;;
+ ea8500)
+ platform_do_upgrade_linksys "$ARGV"
+ ;;
esac
}