public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Daniel Hellstrom <daniel@gaisler.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH 1/8] SPARC: bootm SPARC support
Date: Thu, 13 Mar 2008 10:38:12 +0100	[thread overview]
Message-ID: <47D8F604.5080006@gaisler.com> (raw)

This patch adds support for SPARC u-boot images to bootm. The IH_CPU_SPARC
indentifier in the image header is recognized. The IH_CPU_SPARC indentifier
has already been implemented in mkimage.

Best Regards,
Daniel Hellstrom

 common/cmd_bootm.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c
index 9546729..466e783 100644
--- a/common/cmd_bootm.c
+++ b/common/cmd_bootm.c
@@ -262,6 +262,8 @@ int do_bootm (cmd_tbl_t *cmdtp, int flag, int argc, 
char *argv[])
     if (hdr->ih_arch != IH_CPU_PPC)
 #elif defined(__sh__)
     if (hdr->ih_arch != IH_CPU_SH)
+#elif defined(__sparc__)
+    if (hdr->ih_arch != IH_CPU_SPARC)
 #else
 # error Unknown CPU type
 #endif

             reply	other threads:[~2008-03-13  9:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-13  9:38 Daniel Hellstrom [this message]
2008-03-13 12:37 ` [U-Boot-Users] [PATCH 1/8] SPARC: bootm SPARC support Bartlomiej Sieka
2008-03-13 13:13   ` Daniel Hellstrom

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=47D8F604.5080006@gaisler.com \
    --to=daniel@gaisler.com \
    --cc=u-boot@lists.denx.de \
    /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