]> git.dujemihanovic.xyz Git - u-boot.git/commit
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)
commit76512e0d8484c7081dad78331347b87d8656e25f
tree0789845a63b21020a78ec4b8e96d5680bbd2e10a
parent6dca9450a2808df57340f00178ad7313b64cb2fe
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 <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