On Tue, Jul 07, 2026 at 10:54:11PM +0200, Carlo Caione wrote:

> With CONFIG_FIT_BEST_MATCH, fit_conf_find_compat() selects the
> configuration matching the most specific U-Boot compatible string; on
> equal matches the first listed configuration wins and the configurations
> node 'default' property is never consulted.
> 
> A FIT whose configurations all share the same base devicetree compatible
> (e.g. one manifest carrying a base tree plus overlay combinations for a
> single board) therefore always boots the first configuration, silently
> ignoring the default chosen by the manifest author.
> 
> Break score ties in favour of the default configuration. A strictly
> better compatible match still wins over it, and FITs without a default
> keep the current first-listed behaviour.
> 
> Signed-off-by: Carlo Caione <[email protected]>

This seems appropriate, so:

Reviewed-by: Tom Rini <[email protected]>

Did you look around under doc/ to see if anything there needs a note as
well? Thanks.

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to