From 0b8a1e75df4d5c586e6a5b802c39b7b8fa76f946 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Fri, 7 Apr 2017 18:03:50 +0200 Subject: [PATCH] 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 --- target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 9 --------- 1 file changed, 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")" -- 2.30.2