Re: [PATCH u-boot-marvell v3 09/39] tools: kwboot: Fix printing progress

2021-09-30 Thread Stefan Roese
On 24.09.21 23:06, Marek Behún wrote: From: Pali Rohár Ensure that `pos` is still in range up to the `width` so printing 100% works also for bigger images. After printing 100% progress reset it to zero, so that next progressbar can be started. Signed-off-by: Pali Rohár Reviewed-by: Marek Behú

[PATCH u-boot-marvell v3 09/39] tools: kwboot: Fix printing progress

2021-09-24 Thread Marek Behún
From: Pali Rohár Ensure that `pos` is still in range up to the `width` so printing 100% works also for bigger images. After printing 100% progress reset it to zero, so that next progressbar can be started. Signed-off-by: Pali Rohár Reviewed-by: Marek Behún --- tools/kwboot.c | 9 +++-- 1