mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Masaki Muranaka <monaka@monami-ya.jp>
To: barebox@lists.infradead.org
Subject: bootm command support for x86
Date: Sat, 1 Jun 2013 10:51:03 +0900	[thread overview]
Message-ID: <CAJBvFxM9zECHftuSLWfLaiN+ZiVRZQjx0zTggUD3KVRttRBTtg@mail.gmail.com> (raw)

Hello,

It enables to build bootm command on generic_x86.
I'm not sure but I guess we don't need defined(__I386__) check.
I kept it for now.

diff --git a/include/image.h b/include/image.h
index 219419b..0c8a4b1 100644
--- a/include/image.h
+++ b/include/image.h
@@ -89,7 +89,7 @@
 #define IH_ARCH IH_ARCH_PPC
 #elif defined(__ARM__)
 #define IH_ARCH IH_ARCH_ARM
-#elif defined(__I386__) || defined(__x86_64__)
+#elif defined(__I386__) || defined(__x86_64__) || defined(__i386__)
 #define IH_ARCH IH_ARCH_I386
 #elif defined(__mips__)
 #define IH_ARCH IH_ARCH_MIPS


--
--
Masaki Muranaka
Monami-ya LLC, Japan.

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2013-06-01  1:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-01  1:51 Masaki Muranaka [this message]
2013-06-01  8:13 ` antonynpavlov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJBvFxM9zECHftuSLWfLaiN+ZiVRZQjx0zTggUD3KVRttRBTtg@mail.gmail.com \
    --to=monaka@monami-ya.jp \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox