From: Sascha Hauer Date: Wed, 21 Oct 2009 09:39:23 +0200 Subject: [U-Boot] [PATCH U-BOOTV2] image.h: amd64 support In-Reply-To: <1256070060-15418-1-git-send-email-jacmet@sunsite.dk> References: <1256070060-15418-1-git-send-email-jacmet@sunsite.dk> Message-ID: <20091021073923.GW8818@pengutronix.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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 |