Carlo Caione and Tom 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-07-17 14:50:28 -06:00
2026-05-18 16:56:07 -06:00
2026-07-21 16:57:13 +08:00
2026-07-08 13:29:18 -06:00
2026-07-21 16:31:10 +08:00
2026-06-26 17:08:26 -03:00
2025-08-15 14:17:30 -06:00
2026-02-28 15:31:49 -03:00
2026-07-21 13:51:07 -06:00
2026-01-06 14:44:21 -06:00
2025-08-18 15:47:57 +02:00
2026-07-21 16:57:14 +08:00
2025-12-05 16:24:56 -06:00
2026-07-21 16:31:10 +08:00
2026-06-05 12:56:32 -03:00
2026-04-27 12:38:44 +02:00
2025-11-21 19:25:56 +01:00
2025-12-04 09:38:58 -06:00
2026-03-03 09:09:43 +01:00
2025-09-26 11:55:13 -06:00
2025-08-25 16:20:48 +02:00
2025-09-24 11:03:16 -06:00
2026-01-25 23:29:32 +00:00
2026-01-02 15:51:54 -06:00
2026-07-17 14:50:28 -06:00
2026-02-18 16:35:07 -06:00
2026-06-21 09:43:33 +02:00
2025-10-22 14:16:56 -06:00
2026-03-18 13:17:34 -06:00
2025-10-22 14:16:56 -06:00
2026-03-18 13:17:34 -06:00
2026-07-10 15:55:01 -06:00
2025-10-28 12:12:20 -06:00
2025-10-03 16:55:44 -06:00
2026-04-13 17:34:48 -06:00
2026-04-22 14:23:49 -06:00
2026-06-29 15:29:44 -06:00
2025-12-30 11:22:57 -06:00
2025-08-06 08:41:30 +02:00
2025-11-07 09:28:28 +08:00
2026-05-25 13:43:31 -06:00
2025-11-06 23:26:28 +01:00
2026-05-05 16:29:08 +02:00
2026-03-14 08:14:20 +01:00
2025-11-21 19:30:32 +01:00
2026-03-14 08:14:20 +01:00
2025-11-06 23:26:28 +01:00
2026-04-27 11:26:40 -06:00
2026-02-04 09:04:36 +01:00
2026-05-25 13:44:40 -06:00
2026-04-21 20:49:39 -03:00
2026-06-04 12:27:16 -06:00
2026-03-14 08:36:53 +01:00
2025-09-26 11:55:13 -06:00
2025-11-07 15:34:04 -06:00
2025-11-03 10:02:39 -06:00
2026-03-27 13:14:18 -06:00
2025-11-24 10:51:16 +01:00
2026-06-24 18:13:24 -06:00
2025-08-25 16:20:48 +02:00
2025-10-09 13:50:40 -06:00
2025-10-09 13:50:40 -06:00
2026-05-12 15:52:01 +02:00
2026-02-04 09:01:30 +01:00
2026-02-02 14:24:40 -06:00
2026-02-02 14:24:40 -06:00
2026-02-02 14:24:40 -06:00
2026-02-06 09:29:48 -06:00
2026-05-27 13:41:33 -06:00
2025-12-27 09:40:35 -06:00
2025-08-06 08:41:30 +02:00
2026-07-24 10:46:16 -06:00
2026-06-24 18:13:24 -06:00
2025-11-20 09:17:58 +01:00
2025-11-20 09:17:58 +01:00
2025-12-29 10:17:01 -03:00
2025-07-24 11:50:21 -06:00
2026-06-04 12:27:16 -06:00
2026-05-05 16:29:08 +02:00
2025-09-26 11:55:13 -06:00
2025-12-05 10:34:52 -06:00
2026-03-23 11:27:52 +08:00
2025-08-14 15:33:00 +08:00
2026-06-03 16:55:55 +02:00
2026-04-27 11:26:40 -06:00
2026-06-23 13:13:16 +02:00
2026-01-16 09:07:28 -06:00
2026-02-15 08:43:58 +01:00
2026-05-12 15:52:01 +02:00
2026-03-26 11:04:41 -06:00
2025-10-22 14:28:33 +02:00
2026-04-07 15:27:22 -06:00
2026-07-13 09:16:57 +08:00
2025-10-28 12:24:03 -06:00
2026-02-02 14:24:40 -06:00
2026-06-16 05:38:25 +02:00
2026-06-16 05:38:25 +02:00
2026-04-21 11:19:49 -06:00
2026-02-17 13:50:22 -06:00
2025-11-04 12:45:30 -03:00
2026-06-08 10:50:06 +02:00
2026-06-08 10:50:06 +02:00
2026-07-03 10:14:25 -06:00
2026-03-23 10:58:20 +08:00
2025-10-24 13:47:50 -06:00
2026-03-23 10:58:20 +08:00
2026-04-08 11:07:07 -06:00
2025-12-11 20:53:51 +08:00
2026-02-18 08:27:51 -06:00
2026-02-18 08:27:51 -06:00
2025-10-05 20:26:22 +02:00
2026-07-20 13:16:10 -06:00
2026-03-26 11:04:28 -06:00
2026-03-26 11:04:28 -06:00
2026-05-12 15:38:00 -06:00
2026-02-24 17:39:34 +01:00
2026-06-05 12:56:32 -03:00
2026-07-03 13:45:58 -06:00
2025-10-20 11:54:29 -06:00
2025-10-08 13:54:59 -06:00
2025-12-04 09:38:58 -06:00
2026-06-03 16:55:55 +02:00
2026-07-08 11:34:12 +02:00
2026-07-08 11:30:14 +02:00
2026-03-02 15:20:02 +01:00
2026-04-29 10:32:04 +02:00
2026-03-03 09:09:43 +01:00
2026-06-10 14:49:46 -06:00
2025-10-22 11:09:24 +02:00
2026-05-30 07:44:08 -06:00
2026-05-30 07:44:08 -06:00
2026-05-22 16:47:54 -06:00
2026-05-22 16:47:54 -06:00
2025-09-19 11:54:27 -06:00
2025-07-30 08:01:11 +02:00
2026-06-08 10:50:05 +02:00