summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-04-18 21:13:41 +0000
committerwdenk <wdenk>2004-04-18 21:13:41 +0000
commit507bbe3e8084a82c20399367801da87db7d14e65 (patch)
tree0660633e2e1caf4b819fd46ed43f83e3e05c5523 /common
parent998eaaecd46ee5f00550e30e606cb5556e0b9345 (diff)
downloadu-boot-imx-507bbe3e8084a82c20399367801da87db7d14e65.zip
u-boot-imx-507bbe3e8084a82c20399367801da87db7d14e65.tar.gz
u-boot-imx-507bbe3e8084a82c20399367801da87db7d14e65.tar.bz2
* Patch by Yasushi Shoji, 07 Apr 2004:
- add support for microblaze processors - add support for AtmarkTechno "suzaku" board
Diffstat (limited to 'common')
-rw-r--r--common/cmd_bootm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c
index b060491..421269e 100644
--- a/common/cmd_bootm.c
+++ b/common/cmd_bootm.c
@@ -242,6 +242,8 @@ int do_bootm (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
if (hdr->ih_arch != IH_CPU_NIOS)
#elif defined(__M68K__)
if (hdr->ih_arch != IH_CPU_M68K)
+#elif defined(__microblaze__)
+ if (hdr->ih_arch != IH_CPU_MICROBLAZE)
#else
# error Unknown CPU type
#endif
@@ -1185,6 +1187,7 @@ print_type (image_header_t *hdr)
case IH_CPU_SPARC: arch = "SPARC"; break;
case IH_CPU_SPARC64: arch = "SPARC 64 Bit"; break;
case IH_CPU_M68K: arch = "M68K"; break;
+ case IH_CPU_MICROBLAZE: arch = "Microblaze"; break;
default: arch = "Unknown Architecture"; break;
}