sparc,leon: CONFIG_SPARC_LEON option and leon specific files.
PATCH 1/5 sparc,leon: CONFIG_SPARC_LEON option and leon specific files.
From: Konrad Eisele <[email protected]>
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 <[email protected]>
Reviewed-by Sam Ravnborg <[email protected]>
--- arch/sparc/Kconfig | 11 + arch/sparc/include/asm/leon.h | 362 ++++++++++++++++++++++++++++++++++++ arch/sparc/include/asm/leon_amba.h | 263 ++++++++++++++++++++++++++ arch/sparc/kernel/leon_kernel.c | 203 ++++++++++++++++++++ arch/sparc/mm/leon_mm.c | 260 ++++++++++++++++++++++++++ 5 files changed, 1099 insertions(+), 0 deletions(-) create mode 100644 arch/sparc/include/asm/leon.h create mode 100644 arch/sparc/include/asm/leon_amba.h create mode 100644 arch/sparc/kernel/leon_kernel.c create mode 100644 arch/sparc/mm/leon_mm.c
arch/sparc/Kconfig +11 -0
@@ -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.)"
arch/sparc/include/asm/leon.h new file +362 -0
362 lines not on this page · raw message
arch/sparc/include/asm/leon_amba.h new file +263 -0
263 lines not on this page · raw message
arch/sparc/kernel/leon_kernel.c new file +203 -0
203 lines not on this page · raw message
arch/sparc/mm/leon_mm.c new file +256 -0
256 lines not on this page · raw message
Signature · 1 line
1.6.3.2