diff options
author | Aristo Chen <jj251510319013@gmail.com> | 2025-07-15 13:03:06 +0000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-07-23 13:12:16 -0600 |
commit | edb4bf38688bb232ba0739585693aa94be5246f5 (patch) | |
tree | 130805f669ab2ab8db61fed585d944cd9c179ca6 /drivers/fpga/fpga.c | |
parent | f7b03695d46d7301fe78eed0fe8f8df9c08c33a4 (diff) |
tools: fit_image: validate existence of default configuration node
When a FIT image declares a default configuration via the
'configurations/default' property, it must reference a valid subnode
under the /configurations node. If the named default does not exist,
U-Boot will fail to boot the image when no explicit configuration is
provided.
This patch adds a validation step in mkimage to check that the
referenced default configuration node is present. If not, mkimage will
print an error and abort.
This helps catch malformed or outdated ITS files early at build time
instead of deferring failure to runtime.
Signed-off-by: Aristo Chen <aristo.chen@canonical.com>
Diffstat (limited to 'drivers/fpga/fpga.c')
0 files changed, 0 insertions, 0 deletions