summaryrefslogtreecommitdiff
path: root/common/cmd_bootm.c
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <iwamatsu@rahute.(none)>2007-05-13 11:58:00 (GMT)
committerNobuhiro Iwamatsu <iwamatsu@rahute.(none)>2007-05-13 11:58:00 (GMT)
commit0b135cfc2e524dc249b75057b55dd4cc09842e27 (patch)
treea342e571738e4777bbb2b66246412e9d9aaa81c2 /common/cmd_bootm.c
parentabca901869c3760b6c5fecb825db6c1d91a78a93 (diff)
downloadu-boot-fsl-qoriq-0b135cfc2e524dc249b75057b55dd4cc09842e27.tar.xz
sh: First support code of SuperH.
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'common/cmd_bootm.c')
-rw-r--r--common/cmd_bootm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c
index a6499e8..8af0589 100644
--- a/common/cmd_bootm.c
+++ b/common/cmd_bootm.c
@@ -267,6 +267,8 @@ int do_bootm (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
if (hdr->ih_arch != IH_CPU_NIOS2)
#elif defined(__PPC__)
if (hdr->ih_arch != IH_CPU_PPC)
+#elif defined(__sh__)
+ if (hdr->ih_arch != IH_CPU_SH)
#else
# error Unknown CPU type
#endif