[U-Boot] [PATCH U-BOOTV2] image.h: amd64 support

Peter Korsgaard jacmet at sunsite.dk
Tue Oct 20 22:21:00 CEST 2009


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 at sunsite.dk>
---
 include/image.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/image.h b/include/image.h
index 0d2f472..5524f84 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
-- 
1.6.3.3



More information about the U-Boot mailing list