[Uboot-stm32] [PATCH v3 2/2] spl: mmc: make raw partition selection a choice
Tom Rini
trini at konsulko.com
Mon Sep 14 16:40:15 UTC 2026
On Mon, Sep 14, 2026 at 10:31:38AM +0200, Carlo Caione wrote:
> Boards using boot metadata should not have to configure an unused fixed
> partition number. Make board-selected partitions an alternative to fixed
> numbers and partition types in the existing raw-location choice.
>
> Keep the selection policies together so the MMC loader only has to select
> a partition and load it. Selection failures in dynamic mode must stop the
> MMC attempt instead of falling back to an unrelated filesystem partition.
> Existing fixed-number and partition-type fallback behavior is preserved.
>
> Distinguish shared partition-loading support from settings specific to
> partition-number modes. This keeps existing platform defaults and guards
> while allowing dynamic selection to use the same partition loader. The
> STM32 fixed override remains conditional on its static partition setting.
>
> Signed-off-by: Carlo Caione <ccaione at baylibre.com>
Overall I think this looks better, thank you.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://st-md-mailman.stormreply.com/pipermail/uboot-stm32/attachments/20260914/d5b1036a/attachment.sig>
More information about the Uboot-stm32
mailing list