diff options
author | Francois Retief <fgretief@spaceteq.co.za> | 2015-11-01 15:40:00 +0200 |
---|---|---|
committer | Francois Retief <fgretief@spaceteq.co.za> | 2015-12-03 13:15:48 +0200 |
commit | 52789143a2090a77cbdda76c573a1b75cd460a9a (patch) | |
tree | 36743d6243738cfed73829abb47ec81050d166fb /arch/sparc/cpu/leon3/start.S | |
parent | be30dfbabbee12770221f434d2aa08627e712b97 (diff) | |
download | talos-obmc-uboot-52789143a2090a77cbdda76c573a1b75cd460a9a.tar.gz talos-obmc-uboot-52789143a2090a77cbdda76c573a1b75cd460a9a.zip |
sparc: Move SYS_SPARC_NWINDOWS to Kconfig
Signed-off-by: Francois Retief <fgretief@spaceteq.co.za>
Diffstat (limited to 'arch/sparc/cpu/leon3/start.S')
-rw-r--r-- | arch/sparc/cpu/leon3/start.S | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sparc/cpu/leon3/start.S b/arch/sparc/cpu/leon3/start.S index 203114970b..156601027a 100644 --- a/arch/sparc/cpu/leon3/start.S +++ b/arch/sparc/cpu/leon3/start.S @@ -20,6 +20,11 @@ #define CONFIG_AMBAPP_IOAREA AMBA_DEFAULT_IOAREA #endif +/* Default number of SPARC register windows */ +#ifndef CONFIG_SYS_SPARC_NWINDOWS +#define CONFIG_SYS_SPARC_NWINDOWS 8 +#endif + /* Entry for traps which jump to a programmer-specified trap handler. */ #define TRAPR(H) \ wr %g0, 0xfe0, %psr; \ |