projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lantiq: remove lantiq_board_name, use the generic function instead
[openwrt/openwrt.git]
/
target
/
linux
/
lantiq
/
base-files
/
lib
/
upgrade
/
platform.sh
diff --git
a/target/linux/lantiq/base-files/lib/upgrade/platform.sh
b/target/linux/lantiq/base-files/lib/upgrade/platform.sh
index d4db8d2bf74f7d125257c11c8c6e95065880535d..9158fa742fdf1fab37e67a045e02b33344aaf3c9 100755
(executable)
--- a/
target/linux/lantiq/base-files/lib/upgrade/platform.sh
+++ b/
target/linux/lantiq/base-files/lib/upgrade/platform.sh
@@
-1,5
+1,3
@@
-. /lib/functions/lantiq.sh
-
PART_NAME=firmware
REQUIRE_IMAGE_METADATA=1
@@
-8,7
+6,7
@@
platform_check_image() {
}
platform_pre_upgrade() {
- local board=$(
lantiq_
board_name)
+ local board=$(board_name)
case "$board" in
BTHOMEHUBV2B|BTHOMEHUBV3A|BTHOMEHUBV5A|P2812HNUF* )