diff options
| author | Carlo Caione <[email protected]> | 2026-07-09 12:48:31 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-07-24 10:46:16 -0600 |
| commit | 574b1adad70a19d95c65e0f37f9c36d94fb5418f (patch) | |
| tree | 8112aab648c6206a7eab1a4c6194bb76ff556f17 /doc/develop/bootstd/extlinux.rst | |
| parent | 6380cb867ead8d4436577a33afd43ac1bdedd0dd (diff) | |
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 <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Signed-off-by: Carlo Caione <[email protected]>
Diffstat (limited to 'doc/develop/bootstd/extlinux.rst')
0 files changed, 0 insertions, 0 deletions
