summaryrefslogtreecommitdiff
path: root/include/asm-sparc/processor.h
diff options
context:
space:
mode:
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__