]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
tools: fit_image: Add the loadable property to configs
authorAbel Vesa <abel.vesa@nxp.com>
Tue, 12 Mar 2019 08:34:32 +0000 (08:34 +0000)
committerTom Rini <trini@konsulko.com>
Fri, 22 Mar 2019 16:15:07 +0000 (12:15 -0400)
When running mkimage with "-f auto", the loadable property
needs to be set in order to allow SPL FIT support to boot.

Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Tested-by: Fabio Estevam <festevam@gmail.com>
tools/fit_image.c

index 4b626354fb3f1e235af40a3c1110de5830236ae8..3b867e06564e34e2e80f4997b3ce84967fd35f76 100644 (file)
@@ -298,6 +298,7 @@ static void fit_write_configs(struct image_tool_params *params, char *fdt)
                typename = genimg_get_type_short_name(params->fit_image_type);
                snprintf(str, sizeof(str), "%s-1", typename);
                fdt_property_string(fdt, typename, str);
+               fdt_property_string(fdt, FIT_LOADABLE_PROP, str);
 
                if (params->fit_ramdisk)
                        fdt_property_string(fdt, FIT_RAMDISK_PROP,