diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2013-10-21 10:19:38 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-11-08 09:38:24 -0500 |
commit | 76512e0d8484c7081dad78331347b87d8656e25f (patch) | |
tree | 0789845a63b21020a78ec4b8e96d5680bbd2e10a /arch/sparc/cpu/leon3/start.S | |
parent | 6dca9450a2808df57340f00178ad7313b64cb2fe (diff) | |
download | u-boot-imx-76512e0d8484c7081dad78331347b87d8656e25f.zip u-boot-imx-76512e0d8484c7081dad78331347b87d8656e25f.tar.gz u-boot-imx-76512e0d8484c7081dad78331347b87d8656e25f.tar.bz2 |
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>
Diffstat (limited to 'arch/sparc/cpu/leon3/start.S')
-rw-r--r-- | arch/sparc/cpu/leon3/start.S | 2 |
1 files changed, 2 insertions, 0 deletions
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... */ |