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

Sascha Hauer s.hauer at pengutronix.de
Wed Oct 21 09:39:23 CEST 2009


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 at 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
> 
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |


More information about the U-Boot mailing list