ppx4xx: Fix sdram init on PMC440 boards
[oweals/u-boot.git] / common / cmd_bootm.c
index d8163494e826aba8a28302ee64c34787dad137e2..9546729294870360d418068c4e49dc42134255a1 100644 (file)
@@ -260,6 +260,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