fit: Add standalone image type handling
authorMarek Vasut <marex@denx.de>
Sat, 12 May 2018 22:22:54 +0000 (00:22 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 24 May 2018 02:06:40 +0000 (22:06 -0400)
Just add IH_TYPE_STANDALONE to fit_get_image_type_property().

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Cc: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/image-fit.c
include/image.h

index e3577e2dd73d4344d1ddb142ca7e67cfb98496e7..8c15ed1d96c34b5679a03f65a434f8a600d2e2f8 100644 (file)
@@ -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";
index 925eb8b30f6a48a2630c58d924e92d39867f91c1..9522ee4d25fb3a05d31e4f3fc1c73475fdf81c86 100644 (file)
@@ -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