The cmdline parameter of the fitimage is an additional optional property in a configuration node that is used to transmit information to the next bootstage. Just like description, compatible and default, this property doesn't reference an image (e.g. a kernel, a ramdisk or an fdt) and so it isn't hashed and shouldn't be added to the list of hashed images. Add `cmdline` to the whitelist of property in a configuration node that aren't images.
Signed-off-by: Thomas Bonnefille <[email protected]> --- common/image-fit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/common/image-fit.c b/common/image-fit.c index 635f63c9e2..cd477911cc 100644 --- a/common/image-fit.c +++ b/common/image-fit.c @@ -333,6 +333,7 @@ static int fit_config_build_hash_nodes(struct fit_handle *handle, for_each_property_of_node(conf_node, prop) { if (!strcmp(prop->name, "description") || !strcmp(prop->name, "compatible") || + !strcmp(prop->name, "cmdline") || !strcmp(prop->name, "default")) continue; -- 2.55.0
