summaryrefslogtreecommitdiff
path: root/include/asm-sparc/processor.h
diff options
context:
space:
mode:
authorDaniel Hellstrom <daniel@gaisler.com>2008-03-26 22:51:29 +0100
committerDaniel Hellstrom <daniel@gaisler.com>2008-04-08 07:58:32 +0000
commit1e9a164e22976933002c5e4b0b79b09fcede9cd4 (patch)
tree2fb31cf40420f1eb37bcaf664f33d0b5d0070ade /include/asm-sparc/processor.h
parentbf3d8b31169546fcddb4737391e1893fb12d033a (diff)
SPARC: Added support for SPARC LEON3 SOC processor.
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
Diffstat (limited to 'include/asm-sparc/processor.h')
-rw-r--r--include/asm-sparc/processor.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/asm-sparc/processor.h b/include/asm-sparc/processor.h
index 31b44c5463..d518389ad6 100644
--- a/include/asm-sparc/processor.h
+++ b/include/asm-sparc/processor.h
@@ -26,8 +26,15 @@
#include <asm/arch/asi.h>
-/* Includeprocessor specific header file here */
+#ifdef CONFIG_LEON
+
+/* All LEON processors supported */
+#include <asm/leon.h>
+
+#else
+/* other processors */
#error Unknown SPARC Processor
+#endif
#ifndef __ASSEMBLY__