2013-09-17 21:46:10 +00:00
|
|
|
PART_NAME=firmware
|
2016-11-17 11:41:08 +01:00
|
|
|
REQUIRE_IMAGE_METADATA=1
|
2010-12-12 22:57:16 +00:00
|
|
|
|
|
|
|
platform_check_image() {
|
2016-11-20 20:07:18 +01:00
|
|
|
return 0
|
2010-12-12 22:57:16 +00:00
|
|
|
}
|
|
|
|
|
2017-12-18 20:32:18 +01:00
|
|
|
platform_do_upgrade() {
|
2017-03-17 16:21:30 +01:00
|
|
|
local board=$(board_name)
|
2015-09-15 06:13:07 +00:00
|
|
|
|
|
|
|
case "$board" in
|
2017-06-09 19:28:36 +02:00
|
|
|
avm,fritz3370-rev2-hynix|\
|
|
|
|
avm,fritz3370-rev2-micron|\
|
2019-02-12 18:11:09 +01:00
|
|
|
avm,fritz7362sl|\
|
2019-01-24 18:00:25 +01:00
|
|
|
avm,fritz7412|\
|
2017-06-09 19:28:36 +02:00
|
|
|
bt,homehub-v2b|\
|
|
|
|
bt,homehub-v3a|\
|
|
|
|
bt,homehub-v5a|\
|
|
|
|
zyxel,p-2812hnu-f1|\
|
|
|
|
zyxel,p-2812hnu-f3)
|
2015-09-15 06:13:07 +00:00
|
|
|
nand_do_upgrade $1
|
|
|
|
;;
|
2017-12-18 20:32:18 +01:00
|
|
|
*)
|
2019-07-14 19:03:19 +02:00
|
|
|
default_do_upgrade "$1"
|
2017-12-18 20:32:18 +01:00
|
|
|
;;
|
2015-09-15 06:13:07 +00:00
|
|
|
esac
|
|
|
|
}
|