Files
u-boot-krane/include
Carlo CaioneandTom Rini 574b1adad7 fit: prefer the default configuration on best-match ties
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.

Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-07-24 10:46:16 -06:00
..
2025-11-06 08:30:33 -06:00
2026-05-18 16:56:07 -06:00
2026-07-21 13:51:07 -06:00
2026-06-05 12:56:32 -03:00
2025-11-21 19:25:56 +01:00
2025-12-04 09:38:58 -06:00
2025-08-25 16:20:48 +02:00
2026-06-21 09:43:33 +02:00
2026-04-22 14:23:49 -06:00
2025-12-30 11:22:57 -06:00
2025-08-06 08:41:30 +02:00
2026-04-21 20:49:39 -03:00
2025-09-26 11:55:13 -06:00
2025-11-07 15:34:04 -06:00
2026-03-27 13:14:18 -06:00
2025-08-25 16:20:48 +02:00
2026-02-02 14:24:40 -06:00
2025-08-06 08:41:30 +02:00
2026-06-24 18:13:24 -06:00
2026-04-27 11:26:40 -06:00
2026-04-07 15:27:22 -06:00
2026-04-21 11:19:49 -06:00
2026-03-26 11:04:28 -06:00
2026-05-12 15:38:00 -06:00
2025-12-04 09:38:58 -06:00