All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] sparc: include config.h to start.S
@ 2013-10-21  1:19 Masahiro Yamada
  2013-11-08 22:28 ` [U-Boot] " Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2013-10-21  1:19 UTC (permalink / raw)
  To: u-boot

arch/sparc/cpu/leon3/start.S requires CONFIG_SYS_SPARC_NWINDOES
to be defined:

  #ifndef CONFIG_SYS_SPARC_NWINDOWS
  #error Must define number of SPARC register windows, default is 8
  #endif

But it missed to include <config.h>, which always ended up in compile error.

This commit fixes this problem.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Daniel Hellstrom <daniel@gaisler.com>
---
 arch/sparc/cpu/leon3/start.S | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/sparc/cpu/leon3/start.S b/arch/sparc/cpu/leon3/start.S
index 70aee78..bbc1b34 100644
--- a/arch/sparc/cpu/leon3/start.S
+++ b/arch/sparc/cpu/leon3/start.S
@@ -1,3 +1,5 @@
+#include <config.h>
+
 TRAP ta 0; nop; nop; nop;
 
 /* Software trap. Treat as BAD_TRAP for the time being... */
-- 
1.8.1.2

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

* [U-Boot] sparc: include config.h to start.S
  2013-10-21  1:19 [U-Boot] [PATCH] sparc: include config.h to start.S Masahiro Yamada
@ 2013-11-08 22:28 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2013-11-08 22:28 UTC (permalink / raw)
  To: u-boot

On Mon, Oct 21, 2013 at 10:19:38AM +0900, Masahiro Yamada wrote:

> arch/sparc/cpu/leon3/start.S requires CONFIG_SYS_SPARC_NWINDOES
> to be defined:
> 
>   #ifndef CONFIG_SYS_SPARC_NWINDOWS
>   #error Must define number of SPARC register windows, default is 8
>   #endif
> 
> But it missed to include <config.h>, which always ended up in compile error.
> 
> This commit fixes this problem.
> 
> Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
> Cc: Daniel Hellstrom <daniel@gaisler.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20131108/259fdc77/attachment.pgp>

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

end of thread, other threads:[~2013-11-08 22:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-21  1:19 [U-Boot] [PATCH] sparc: include config.h to start.S Masahiro Yamada
2013-11-08 22:28 ` [U-Boot] " Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.