projects
/
openwrt
/
staging
/
hauke.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
bmips: switch to standard nand_do_upgrade
[openwrt/staging/hauke.git]
/
target
/
linux
/
bmips
/
bcm6362
/
base-files
/
lib
/
upgrade
/
platform.sh
1
# SPDX-License-Identifier: GPL-2.0-or-later
2
3
PART_NAME
=
firmware
4
REQUIRE_IMAGE_METADATA
=
1
5
6
platform_check_image
() {
7
return
0
8
}
9
10
platform_do_upgrade
() {
11
case
"$(board_name)"
in
12
huawei
,
hg253s-v2 |\
13
netgear
,
dgnd3700-v2
)
14
CI_JFFS2_CLEAN_MARKERS
=
1
15
nand_do_upgrade
"
$1
"
16
;;
17
*)
18
default_do_upgrade
"
$1
"
19
;;
20
esac
21
}