ar71xx: remove nand_board_name platform override
authorMathias Kresin <dev@kresin.me>
Fri, 7 Apr 2017 16:03:50 +0000 (18:03 +0200)
committerMathias Kresin <dev@kresin.me>
Fri, 8 Dec 2017 19:57:12 +0000 (20:57 +0100)
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>
target/linux/ar71xx/base-files/lib/upgrade/platform.sh

index 172a58b..e3c48c9 100755 (executable)
@@ -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")"