]> git.baikalelectronics.ru Git - uboot.git/commit
arm: socfpga: vining: Unmount UBIFS and detach UBI in ubi_load script
authorMarek Vasut <marex@denx.de>
Mon, 20 Dec 2021 21:57:57 +0000 (22:57 +0100)
committerTien Fong Chee <tien.fong.chee@intel.com>
Thu, 16 Jun 2022 08:11:06 +0000 (16:11 +0800)
commit1877bdde0d976ebdad4bfe8bb28674e69179212f
treec74bbe0b723e93031a11352cd6daac3c6c1951e2
parentcfae32e6f7c8d6e028e46cd78ece8fe3b7c87231
arm: socfpga: vining: Unmount UBIFS and detach UBI in ubi_load script

Clean up in ubiload script. Unmount UBIFS from which kernel image was
loaded and detach UBI on which the UBIFS is located, otherwise message
similar to the following is printed just before booting kernel:

Removing MTD device #7 (rootfs) with use count 1
Error when deleting partition "rootfs" (-16)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Siew Chin Lim <elly.siew.chin.lim@intel.com>
Cc: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Cc: Tien Fong Chee <tien.fong.chee@intel.com>
Reviewed-by: Tien Fong Chee <tien.fong.chee@intel.com>
include/configs/socfpga_vining_fpga.h