From: Marek Vasut Date: Thu, 28 Dec 2017 13:06:15 +0100 Subject: [U-Boot] [PATCH 3/9] fit: Add standalone image type handling In-Reply-To: <20171228120621.4039-1-marex@denx.de> References: <20171228120621.4039-1-marex@denx.de> Message-ID: <20171228120621.4039-4-marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Just add IH_TYPE_STANDALONE to fit_get_image_type_property(). Signed-off-by: Marek Vasut Cc: Pantelis Antoniou Cc: 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 f0e713d88f..8871e2dcd3 100644 --- a/common/image-fit.c +++ b/common/image-fit.c @@ -1699,6 +1699,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 a128a623e5..82799fc512 100644 --- a/include/image.h +++ b/include/image.h @@ -907,6 +907,7 @@ int bootz_setup(ulong image, ulong *start, ulong *end); #define FIT_DEFAULT_PROP "default" #define FIT_SETUP_PROP "setup" #define FIT_FPGA_PROP "fpga" +#define FIT_STANDALONE_PROP "standalone" #define FIT_MAX_HASH_LEN HASH_MAX_DIGEST_SIZE -- 2.15.0