[PATCH v2] mtd: mtdpart: Support MTDPART_SIZ_FULL in fixed-partitions
Tom Rini
trini at konsulko.com
Thu May 1 16:23:16 CEST 2025
On Tue, 08 Apr 2025 07:46:38 +0200, Mike Looijmans wrote:
> Flash partitions may specify MTDPART_SIZ_FULL (=0) as the size of the
> partition to indicate "the remainder of the flash". Make this work with
> device-tree "fixed-partitions" as well.
>
> This makes MTD partitioning compatible with the Linux kernel, see:
> https://github.com/torvalds/linux/blob/master/include/linux/mtd/partitions.h#L29
> https://github.com/torvalds/linux/blob/master/drivers/mtd/mtdpart.c#L123
>
> [...]
Applied to u-boot/master, thanks!
[1/1] mtd: mtdpart: Support MTDPART_SIZ_FULL in fixed-partitions
commit: 98a898e58499c78245e4fe36ee404b1b1208e32b
--
Tom
More information about the U-Boot
mailing list