summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorAubrey.Li <aubrey.adi@gmail.com>2007-03-09 13:40:56 +0800
committerAubrey.Li <aubrey.adi@gmail.com>2007-03-09 13:40:56 +0800
commitef26a08fef928b7bc11ae2c109e638dc3a016d91 (patch)
treeca1fad50363cb05c7a62f0d4701d93a6671ab485 /common
parent3f0606ad0b5639f7f22848fe5b4574e754d0470f (diff)
downloadu-boot-imx-ef26a08fef928b7bc11ae2c109e638dc3a016d91.zip
u-boot-imx-ef26a08fef928b7bc11ae2c109e638dc3a016d91.tar.gz
u-boot-imx-ef26a08fef928b7bc11ae2c109e638dc3a016d91.tar.bz2
[Blackfin][PATCH-2/2] Common files changed to support bf533 platform
Diffstat (limited to 'common')
-rw-r--r--common/cmd_bootm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c
index 7aae8a6..727b872 100644
--- a/common/cmd_bootm.c
+++ b/common/cmd_bootm.c
@@ -258,7 +258,7 @@ int do_bootm (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
if (hdr->ih_arch != IH_CPU_MICROBLAZE)
#elif defined(__nios2__)
if (hdr->ih_arch != IH_CPU_NIOS2)
-#elif defined(__blackfin__)
+#elif defined(__bfin__)
if (hdr->ih_arch != IH_CPU_BLACKFIN)
#elif defined(__avr32__)
if (hdr->ih_arch != IH_CPU_AVR32)
@@ -1367,6 +1367,7 @@ print_type (image_header_t *hdr)
case IH_CPU_MICROBLAZE: arch = "Microblaze"; break;
case IH_CPU_NIOS: arch = "Nios"; break;
case IH_CPU_NIOS2: arch = "Nios-II"; break;
+ case IH_CPU_BLACKFIN: arch = "Blackfin"; break;
default: arch = "Unknown Architecture"; break;
}