projects
/
openwrt
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
dcd797c30dc9e97e6e31d4cf6885562cef843fc0
[openwrt/openwrt.git]
/
target
/
linux
/
lantiq
/
xrx200
/
base-files
/
lib
/
upgrade
/
platform.sh
1
PART_NAME
=
firmware
2
REQUIRE_IMAGE_METADATA
=
1
3
4
platform_check_image
() {
5
return
0
6
}
7
8
platform_do_upgrade
() {
9
local
board
=
$
(
board_name
)
10
11
case
"
$board
"
in
12
avm
,
fritz3370-rev2-hynix|\
13
avm
,
fritz3370-rev2-micron|\
14
avm
,
fritz7362sl|\
15
avm
,
fritz7412|\
16
bt
,
homehub-v5a|\
17
zyxel
,
p-2812hnu-f1|\
18
zyxel
,
p-2812hnu-f3
)
19
nand_do_upgrade
$1
20
;;
21
*)
22
default_do_upgrade
"
$1
"
23
;;
24
esac
25
}