[PATCH 1/1] mtd: mtdpart: Support MTD_SIZE_REMAINING with unallocated memory area

Tom Rini trini at konsulko.com
Fri Feb 28 21:23:27 CET 2025


On Thu, 20 Feb 2025 15:58:07 +0100, Alexander Stein wrote:

> If there is an unallocated memory area before the last, filling parting
> the size calculation for MTD_SIZE_REMAINING does not take this hole
> into account.
> Fix this by calculating the remaining size just based on total size
> and partition offset.
> 
> 
> [...]

Applied to u-boot/next, thanks!

-- 
Tom




More information about the U-Boot mailing list