base-files: drop support for the platform_nand_pre_upgrade()

No target uses it anymore. All code from that callback was moved into
the platform_do_upgrade().

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
This commit is contained in:
Rafał Miłecki
2019-07-17 11:32:55 +02:00
parent 1cbe0d659c
commit 790692dde2
2 changed files with 1 additions and 5 deletions

View File

@@ -282,10 +282,6 @@ nand_upgrade_tar() {
nand_do_upgrade() {
local file_type=$(identify $1)
if type 'platform_nand_pre_upgrade' >/dev/null 2>/dev/null; then
platform_nand_pre_upgrade "$1"
fi
[ ! "$(find_mtd_index "$CI_UBIPART")" ] && CI_UBIPART="rootfs"
case "$file_type" in