1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
svn-openwrt-archive/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
John Crispin 78a6a9aec3 ipq806x: Add support for Netgear D7800
Signed-off-by: Tathagata Das <tathagata@alumnux.com>

SVN-Revision: 48360
2016-01-19 10:16:36 +00:00

33 lines
408 B
Bash

. /lib/ipq806x.sh
PART_NAME=firmware
platform_check_image() {
local board=$(ipq806x_board_name)
case "$board" in
ap148 |\
d7800 |\
r7500)
nand_do_platform_check $board $1
return $?;
;;
*)
return 1;
esac
}
platform_pre_upgrade() {
local board=$(ipq806x_board_name)
case "$board" in
ap148 |\
d7800 |\
r7500)
nand_do_upgrade "$1"
;;
esac
}
# use default for platform_do_upgrade()