diff options
author | Konrad Eisele <konrad@gaisler.com> | 2009-08-17 02:13:29 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-18 03:32:09 +0200 |
commit | 5213a780295895630530aebacdd19217a5379c9a (patch) | |
tree | 7bb6534312da2a4d99b97e0bb15b4dd4f4ec1909 /arch/sparc/Kconfig | |
parent | sparc64: cheaper asm/uaccess.h inclusion (diff) | |
download | linux-5213a780295895630530aebacdd19217a5379c9a.tar.xz linux-5213a780295895630530aebacdd19217a5379c9a.zip |
sparc,leon: CONFIG_SPARC_LEON option and leon specific files.
The macro CONFIG_SPARC_LEON will shield, if undefined, the sun-sparc
code from LEON specific code. In
particular include/asm/leon.h will get empty through #ifdef and
leon_kernel.c and leon_mm.c will not be compiled.
Signed-off-by: Konrad Eisele <konrad@gaisler.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/Kconfig')
-rw-r--r-- | arch/sparc/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig index 3f8b6a92eabd..b847f880eeca 100644 --- a/arch/sparc/Kconfig +++ b/arch/sparc/Kconfig @@ -437,6 +437,17 @@ config SERIAL_CONSOLE If unsure, say N. +config SPARC_LEON + bool "Sparc Leon processor family" + depends on SPARC32 + ---help--- + If you say Y here if you are running on a SPARC-LEON processor. + The LEON processor is a synthesizable VHDL model of the + SPARC-v8 standard. LEON is part of the GRLIB collection of + IP cores that are distributed under GPL. GRLIB can be downloaded + from www.gaisler.com. You can download a sparc-linux cross-compilation + toolchain at www.gaisler.com. + endmenu menu "Bus options (PCI etc.)" |