summaryrefslogtreecommitdiffstats
path: root/commands/bootm.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2010-10-07 14:13:10 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2010-10-07 14:13:10 +0200
commit6c4b1b6da0716cc7025e85578e89101a2c065bf5 (patch)
tree519bd2412ecac461080427965cf3abc0ed77a2cd /commands/bootm.c
parentf7403928a9ee57ac717e38610dcbb04bb7798734 (diff)
downloadbarebox-6c4b1b6da0716cc7025e85578e89101a2c065bf5.tar.gz
barebox-6c4b1b6da0716cc7025e85578e89101a2c065bf5.tar.xz
Revert "image: rename IH_CPU to IH_ARCH to be more concistant"
This reverts commit aba80a2d2d0f1b25185246925577ce2108247dde. Conflicts: include/image.h Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/bootm.c')
-rw-r--r--commands/bootm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/bootm.c b/commands/bootm.c
index a64f67879d..604f5cc977 100644
--- a/commands/bootm.c
+++ b/commands/bootm.c
@@ -330,7 +330,7 @@ static int do_bootm(struct command *cmdtp, int argc, char *argv[])
os_header = &os_handle->header;
- if (os_header->ih_arch != IH_ARCH) {
+ if (os_header->ih_arch != IH_CPU) {
printf ("Unsupported Architecture 0x%x\n", os_header->ih_arch);
goto err_out;
}