From: Masahiro Yamada Date: Mon, 21 Oct 2013 01:19:38 +0000 (+0900) Subject: sparc: include config.h to start.S X-Git-Tag: v2014.01-rc1~111 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=76512e0d8484c7081dad78331347b87d8656e25f;p=oweals%2Fu-boot.git sparc: include config.h to start.S 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 , which always ended up in compile error. This commit fixes this problem. Signed-off-by: Masahiro Yamada Cc: Daniel Hellstrom --- diff --git a/arch/sparc/cpu/leon3/start.S b/arch/sparc/cpu/leon3/start.S index 70aee78054..bbc1b3476c 100644 --- a/arch/sparc/cpu/leon3/start.S +++ b/arch/sparc/cpu/leon3/start.S @@ -1,3 +1,5 @@ +#include + TRAP ta 0; nop; nop; nop; /* Software trap. Treat as BAD_TRAP for the time being... */