]> git.karo-electronics.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>

No differences found