aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/system_32.h
diff options
context:
space:
mode:
authorKonrad Eisele <konrad@gaisler.com>2009-08-17 00:13:31 +0000
committerDavid S. Miller <davem@davemloft.net>2009-08-17 18:32:10 -0700
commit0fd7ef1fe0e6e70c7851ce65a2eb8a8d3f49147e (patch)
tree5acde580b44e055ce38660bd4185f0da2f1f6468 /arch/sparc/include/asm/system_32.h
parentsparc,leon: Redefine MMU register access asi if CONFIG_LEON (diff)
downloadlinux-dev-0fd7ef1fe0e6e70c7851ce65a2eb8a8d3f49147e.tar.xz
linux-dev-0fd7ef1fe0e6e70c7851ce65a2eb8a8d3f49147e.zip
sparc,leon: Introduce the sparc-leon CPU type.
Add sparc_leon enum, M_LEON|M_LEON3_SOC machine. Add compilation of leon.c in mm and kernel if CONFIG_SPARC_LEON is defined. Add sparc_leon dependent initialization to switch statements + head.S. 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/include/asm/system_32.h')
-rw-r--r--arch/sparc/include/asm/system_32.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/system_32.h b/arch/sparc/include/asm/system_32.h
index 751c8c17f5a0..890036b3689a 100644
--- a/arch/sparc/include/asm/system_32.h
+++ b/arch/sparc/include/asm/system_32.h
@@ -32,6 +32,7 @@ enum sparc_cpu {
sun4u = 0x05, /* V8 ploos ploos */
sun_unknown = 0x06,
ap1000 = 0x07, /* almost a sun4m */
+ sparc_leon = 0x08, /* Leon SoC */
};
/* Really, userland should not be looking at any of this... */