]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
sparc: include config.h to start.S
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Mon, 21 Oct 2013 01:19:38 +0000 (10:19 +0900)
committerTom Rini <trini@ti.com>
Fri, 8 Nov 2013 14:38:24 +0000 (09:38 -0500)
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

index 70aee78054a3e5a09ea5532fad197f28753c2d14..bbc1b3476c78a46d5d5a4df14a9d190ee0d35bf0 100644 (file)
@@ -1,3 +1,5 @@
+#include <config.h>
+
 TRAP ta 0; nop; nop; nop;
 
 /* Software trap. Treat as BAD_TRAP for the time being... */