summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2017-04-07 18:06:17 +0200
committerMathias Kresin <dev@kresin.me>2017-12-08 20:57:12 +0100
commit93bd46b719dc54076a8e6e6efb3259c7417375b6 (patch)
tree8ef43922ea5c6c175fb498d8b7ca2ac27546e41f
parent0b8a1e75df4d5c586e6a5b802c39b7b8fa76f946 (diff)
downloadmtk-20170518-93bd46b719dc54076a8e6e6efb3259c7417375b6.zip
mtk-20170518-93bd46b719dc54076a8e6e6efb3259c7417375b6.tar.gz
mtk-20170518-93bd46b719dc54076a8e6e6efb3259c7417375b6.tar.bz2
procd: nand: remove nand_board_name platform override
It isn't uses anymore by any target. Signed-off-by: Mathias Kresin <dev@kresin.me>
-rw-r--r--package/base-files/files/lib/upgrade/nand.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/package/base-files/files/lib/upgrade/nand.sh b/package/base-files/files/lib/upgrade/nand.sh
index 1c6b86b..42f488c 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)"