[PATCH next v2 3/4] boot/fit: declare (and use) new constant for conf's compatible prop
Simon Glass
sjg at chromium.org
Fri Jan 9 12:34:51 CET 2026
On Wed, 3 Dec 2025 at 09:19, Quentin Schulz <foss+uboot at 0leil.net> wrote:
>
> From: Quentin Schulz <quentin.schulz at cherry.de>
>
> 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 at cherry.de>
> ---
> boot/image-fit.c | 2 +-
> include/image.h | 1 +
> 2 files changed, 2 insertions(+), 1 deletion(-)
>
Reviewed-by: Simon Glass <simon.glass at canonical.com>
More information about the U-Boot
mailing list