From 0298d2037542b4f56124d29995dc7435c6af8bd1 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Sun, 13 May 2018 00:22:54 +0200 Subject: [PATCH] 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 --- common/image-fit.c | 2 ++ include/image.h | 1 + 2 files changed, 3 insertions(+) diff --git a/common/image-fit.c b/common/image-fit.c index e3577e2..8c15ed1 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 925eb8b..9522ee4 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 -- 2.7.4