summaryrefslogtreecommitdiffstats
path: root/include/image.h
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-10-20 22:21:00 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2009-10-21 09:38:57 +0200
commitb8399573ba330ffd3f7fdefa8390c8ccfda7b74b (patch)
tree64fcda3b68940768de758b79f4892265186f6edc /include/image.h
parenta08615b2dae45e0ffdf10fad62338cff2fba27e0 (diff)
downloadbarebox-b8399573ba330ffd3f7fdefa8390c8ccfda7b74b.tar.gz
barebox-b8399573ba330ffd3f7fdefa8390c8ccfda7b74b.tar.xz
image.h: amd64 support
Use IH_CPU_I386 for amd64 machines as well, so bootm.c is able to build on amd64 sandbox. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/image.h')
-rw-r--r--include/image.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/image.h b/include/image.h
index 0d2f47292b..5524f84246 100644
--- a/include/image.h
+++ b/include/image.h
@@ -84,7 +84,7 @@
#define IH_CPU IH_CPU_PPC
#elif defined(__ARM__)
#define IH_CPU IH_CPU_ARM
-#elif defined(__I386__)
+#elif defined(__I386__) || defined(__x86_64__)
#define IH_CPU IH_CPU_I386
#elif defined(__mips__)
#define IH_CPU IH_CPU_MIPS