1 From cb5a037831053d22ce260dbec6b378f532bd2c6c Mon Sep 17 00:00:00 2001
2 From: Alison Wang <b18965@freescale.com>
3 Date: Tue, 21 Jun 2016 17:14:35 +0800
4 Subject: [PATCH 04/93] armv8: Support loading 32-bit OS which is not in the
7 As only FIT image is supported now, this patch is to support loading
8 32-bit uImage, dtb and rootfs separately.
10 Signed-off-by: Alison Wang <alison.wang@nxp.com>
12 include/image.h | 3 ++-
13 1 file changed, 2 insertions(+), 1 deletion(-)
15 diff --git a/include/image.h b/include/image.h
16 index 299d6d2..0ea5f8e 100644
19 @@ -694,7 +694,8 @@ static inline int image_check_type(const image_header_t *hdr, uint8_t type)
21 static inline int image_check_arch(const image_header_t *hdr, uint8_t arch)
23 - return (image_get_arch(hdr) == arch);
24 + return (image_get_arch(hdr) == arch) ||
25 + (image_get_arch(hdr) == IH_ARCH_ARM && arch == IH_ARCH_ARM64);
27 static inline int image_check_os(const image_header_t *hdr, uint8_t os)