boot/fit: declare (and use) new constant for conf's compatible prop
authorQuentin Schulz <quentin.schulz@cherry.de>
Wed, 3 Dec 2025 16:19:34 +0000 (17:19 +0100)
committerAndreas Henriksson <andreas@fatal.se>
Tue, 23 Jun 2026 19:07:40 +0000 (21:07 +0200)
commitb2916ce898af0e2a629829d4e7ffd9a25133530f
tree09c2cf390fcd0f74efb309ad8aa8ac96c0a5a03c
parent0dd6acec674d01d31964470c325b182333f63308
boot/fit: declare (and use) new constant for conf's compatible prop

Fit conf node may have a compatible property[1] which stores the root
compatible of the first blob in the fdt property of the node. This can
be used to automatically select the proper conf node based on the
compatible from the running U-Boot (matching the former's compatible
with the latter)[2].

This adds (and uses) this constant for FIT node parsing.

Note that this property may also appear in fpga image nodes[3] but that
isn't done in this commit.

[1] https://fitspec.osfw.foundation/#optional-properties compatible paragraph
[2] https://fitspec.osfw.foundation/#select-a-configuration-to-boot
[3] https://fitspec.osfw.foundation/#images-node 2.3.2 Conditionally mandatory property

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
(cherry picked from commit 3059eb0c27dd1b4a40a06bda4a47e10246185aca)

Gbp-Pq: Name CVE-2026-46728-1.patch
common/image-fit.c
include/image.h