procd: nand: remove nand_board_name platform override
authorMathias Kresin <dev@kresin.me>
Fri, 7 Apr 2017 16:06:17 +0000 (18:06 +0200)
committerMathias Kresin <dev@kresin.me>
Fri, 8 Dec 2017 19:57:12 +0000 (20:57 +0100)
It isn't uses anymore by any target.

Signed-off-by: Mathias Kresin <dev@kresin.me>
package/base-files/files/lib/upgrade/nand.sh

index 1c6b86bcaa73b13712826e18b46bb9c407aec0ca..42f488c118fab514de7d2aee78bc431f7b8be157 100644 (file)
@@ -239,15 +239,6 @@ nand_upgrade_ubifs() {
        nand_do_upgrade_success
 }
 
-nand_board_name() {
-       if type 'platform_nand_board_name' >/dev/null 2>/dev/null; then
-               platform_nand_board_name
-               return
-       fi
-
-       cat /tmp/sysinfo/board_name
-}
-
 nand_upgrade_tar() {
        local tar_file="$1"
        local kernel_mtd="$(find_mtd_index $CI_KERNPART)"