aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2017-04-07 18:03:50 +0200
committerMathias Kresin <dev@kresin.me>2017-12-08 20:57:12 +0100
commit0b8a1e75df4d5c586e6a5b802c39b7b8fa76f946 (patch)
treea385a49138287422968dd3fc937a66319905769b /target
parentc90a8cb7552cc7e843c328283268d67709d26a8c (diff)
downloadupstream-0b8a1e75df4d5c586e6a5b802c39b7b8fa76f946.tar.gz
upstream-0b8a1e75df4d5c586e6a5b802c39b7b8fa76f946.tar.bz2
upstream-0b8a1e75df4d5c586e6a5b802c39b7b8fa76f946.zip
ar71xx: remove nand_board_name platform override
The boardname isn't used any longer to find the subdirectory in the sysupgrade tar archive, which makes this override useless. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 172a58ba67..e3c48c9eef 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -183,15 +183,6 @@ alfa_check_image() {
return 0
}
-platform_nand_board_name() {
- local board=$(board_name)
-
- case "$board" in
- rb*) echo "routerboard";;
- *) echo "$board";;
- esac
-}
-
platform_check_image() {
local board=$(board_name)
local magic="$(get_magic_word "$1")"