From: Mathias Kresin Date: Fri, 7 Apr 2017 16:03:50 +0000 (+0200) Subject: ar71xx: remove nand_board_name platform override X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0b8a1e75df4d5c586e6a5b802c39b7b8fa76f946;p=openwrt%2Fstaging%2Fblocktrron.git 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 --- 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")"