diff mbox

[1/5] sparc,leon: CONFIG_SPARC_LEON option and leon specific files.

Message ID 1245748431-26756-1-git-send-email-konrad@gaisler.com
State Superseded
Delegated to: David Miller
Headers show

Commit Message

Konrad Eisele June 23, 2009, 9:13 a.m. UTC
From: Konrad Eisele <konrad@gaisler.com>

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>
---
 arch/sparc/Kconfig |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

Comments

Konrad Eisele June 23, 2009, 9:22 a.m. UTC | #1
Very annoying, delete this mail, it was missing the main patch data,
I'll resend the old version. I'v some problems using git...
-- Konrad

konrad@gaisler.com wrote:
> From: Konrad Eisele <konrad@gaisler.com>
> 
> 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>
> ---
>  arch/sparc/Kconfig |   11 +++++++++++
>  1 files changed, 11 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig
> index 3f8b6a9..b847f88 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.)"

--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig
index 3f8b6a9..b847f88 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.)"