public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH 1/8] SPARC: bootm SPARC support
@ 2008-03-13  9:38 Daniel Hellstrom
  2008-03-13 12:37 ` Bartlomiej Sieka
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Hellstrom @ 2008-03-13  9:38 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-03-13 13:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-13  9:38 [U-Boot-Users] [PATCH 1/8] SPARC: bootm SPARC support Daniel Hellstrom
2008-03-13 12:37 ` Bartlomiej Sieka
2008-03-13 13:13   ` Daniel Hellstrom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox