Browse Source

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 <[email protected]>
Mathias Kresin 8 years ago
parent
commit
0b8a1e75df
1 changed files with 0 additions and 9 deletions
  1. 0 9
      target/linux/ar71xx/base-files/lib/upgrade/platform.sh

+ 0 - 9
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")"