summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbel Vesa <abel.vesa@nxp.com>2019-03-12 08:34:32 +0000
committerTom Rini <trini@konsulko.com>2019-03-22 12:15:07 -0400
commitcabde449b97799d4377f62b90374f261327a3a90 (patch)
tree814cc8b0ad793294b58f468e6831842c66d9a4b8
parentcf8dcc5d02c32173b74bf1b7600dd2b990a90b13 (diff)
downloadu-boot-cabde449b97799d4377f62b90374f261327a3a90.tar.gz
tools: fit_image: Add the loadable property to configs
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>
-rw-r--r--tools/fit_image.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/fit_image.c b/tools/fit_image.c
index 4b626354fb..3b867e0656 100644
--- a/tools/fit_image.c
+++ b/tools/fit_image.c
@@ -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,