summaryrefslogtreecommitdiff
path: root/include/image.h
diff options
context:
space:
mode:
authorWolfgang Denk <[email protected]>2008-04-13 09:21:00 -0700
committerWolfgang Denk <[email protected]>2008-04-13 09:21:00 -0700
commit58a3cbbf24ec910d2b75551002efcf2838577898 (patch)
tree1c81477ced7570626dddba97366b3f5c6c0c0ec1 /include/image.h
parent950a392464e616b4590bc4501be46e2d7d162dea (diff)
parentab68f921d9c741830f721c3d879c13a0c5597183 (diff)
Merge branch 'master' of git://www.denx.de/git/u-boot-sparc
Diffstat (limited to 'include/image.h')
-rw-r--r--include/image.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/image.h b/include/image.h
index 36143e25acf..c1a6cbb481e 100644
--- a/include/image.h
+++ b/include/image.h
@@ -419,6 +419,8 @@ static inline int image_check_target_arch (image_header_t *hdr)
if (!image_check_arch (hdr, IH_ARCH_PPC))
#elif defined(__sh__)
if (!image_check_arch (hdr, IH_ARCH_SH))
+#elif defined(__sparc__)
+ if (!image_check_arch (hdr, IH_ARCH_SPARC))
#else
# error Unknown CPU type
#endif
@@ -571,6 +573,8 @@ static inline int fit_image_check_target_arch (const void *fdt, int node)
if (!fit_image_check_arch (fdt, node, IH_ARCH_PPC))
#elif defined(__sh__)
if (!fit_image_check_arch (fdt, node, IH_ARCH_SH))
+#elif defined(__sparc__)
+ if (!fit_image_check_arch (fdt, node, IH_ARCH_SPARC))
#else
# error Unknown CPU type
#endif