image.h: amd64 support
PATCH 1/1 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 <[email protected]>
--- include/image.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
include/image.h +1 -1
@@ -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
Signature · 1 line
1.6.3.3
Sascha Hauer
AppliedPATCH 1/1 image.h: amd64 support
Hi Peter,
Quoted 4 lines · Peter Korsgaard
Use
IH_CPU_I386for amd64 machines as well, sobootm.cis able to build on amd64 sandbox.Signed-off-by Peter Korsgaard <[email protected]>
Applied, thanks.
Sascha
Quoted 21 lines
--- include/image.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)include/image.h +1
-1@@ -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_MIPSSignature · 1 line
1.6.3.3
Signature · 4 lines
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 |