From: Mathias Kresin Date: Fri, 7 Apr 2017 16:06:17 +0000 (+0200) Subject: procd: nand: remove nand_board_name platform override X-Git-Tag: v18.06.0-rc1~1609 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=93bd46b719dc54076a8e6e6efb3259c7417375b6;p=oweals%2Fopenwrt.git procd: nand: remove nand_board_name platform override It isn't uses anymore by any target. Signed-off-by: Mathias Kresin --- diff --git a/package/base-files/files/lib/upgrade/nand.sh b/package/base-files/files/lib/upgrade/nand.sh index 1c6b86bcaa..42f488c118 100644 --- a/package/base-files/files/lib/upgrade/nand.sh +++ b/package/base-files/files/lib/upgrade/nand.sh @@ -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)"