Skip to content

Commit

Permalink
tools: fit_image: Add the loadable property to configs
Browse files Browse the repository at this point in the history
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 <[email protected]>
Tested-by: Fabio Estevam <[email protected]>
  • Loading branch information
abelvesa authored and trini committed Mar 22, 2019
1 parent cf8dcc5 commit cabde44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/fit_image.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit cabde44

Please sign in to comment.