Message ID | 1382318378-24014-1-git-send-email-yamada.m@jp.panasonic.com |
---|---|
State | Accepted |
Delegated to: | Tom Rini |
Headers | show |
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!
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... */
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(+)