From: Marek Vasut Date: Sat, 12 May 2018 22:22:54 +0000 (+0200) Subject: fit: Add standalone image type handling X-Git-Tag: v2018.07-rc1~102 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0298d2037542b4f56124d29995dc7435c6af8bd1;p=u-boot fit: Add standalone image type handling Just add IH_TYPE_STANDALONE to fit_get_image_type_property(). Signed-off-by: Marek Vasut Cc: Pantelis Antoniou Cc: Simon Glass Reviewed-by: Simon Glass --- diff --git a/common/image-fit.c b/common/image-fit.c index e3577e2dd7..8c15ed1d96 100644 --- a/common/image-fit.c +++ b/common/image-fit.c @@ -1725,6 +1725,8 @@ static const char *fit_get_image_type_property(int type) return FIT_LOADABLE_PROP; case IH_TYPE_FPGA: return FIT_FPGA_PROP; + case IH_TYPE_STANDALONE: + return FIT_STANDALONE_PROP; } return "unknown"; diff --git a/include/image.h b/include/image.h index 925eb8b30f..9522ee4d25 100644 --- a/include/image.h +++ b/include/image.h @@ -922,6 +922,7 @@ int booti_setup(ulong image, ulong *relocated_addr, ulong *size); #define FIT_SETUP_PROP "setup" #define FIT_FPGA_PROP "fpga" #define FIT_FIRMWARE_PROP "firmware" +#define FIT_STANDALONE_PROP "standalone" #define FIT_MAX_HASH_LEN HASH_MAX_DIGEST_SIZE