
15 Apr
2022
15 Apr
'22
2:08 p.m.
On Mon, Apr 04, 2022 at 05:50:14PM +0200, Alexandre Besnard wrote:
Attaching a UBI partition may take a while, since scanning the memory is required. It thus makes sense to avoid a detach/scan/attach cycle when the right partition is already attached, and let the calling process call 'detach' beforehand if it needs it.
This commit checks for the currently attached UBI partition, and skips reattaching if not needed, showing an information.
Signed-off-by: Alexandre Besnard alexandre.besnard@softathome.com
Applied to u-boot/master, thanks!
--
Tom