sh: First support code of SuperH.
[oweals/u-boot.git] / common / cmd_bootm.c
index a6499e8dd9bc3fc853606567c847d0a064f02e55..8af0589d9a12bc0b92e699bdf9fbb66c59ed9fb6 100644 (file)
@@ -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