[U-Boot] [PATCH U-BOOTV2] 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 --- 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

Hi Peter,
On Tue, Oct 20, 2009 at 10:21:00PM +0200, Peter Korsgaard wrote:
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
Applied, thanks.
Sascha
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
participants (2)
-
Peter Korsgaard
-
Sascha Hauer