aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/arch/sparc/include/asm/leon.h
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/arch/sparc/include/asm/leon.h')
-rw-r--r--roms/u-boot/arch/sparc/include/asm/leon.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/roms/u-boot/arch/sparc/include/asm/leon.h b/roms/u-boot/arch/sparc/include/asm/leon.h
new file mode 100644
index 00000000..cc7c7f34
--- /dev/null
+++ b/roms/u-boot/arch/sparc/include/asm/leon.h
@@ -0,0 +1,28 @@
+/* LEON Header File select
+ *
+ * (C) Copyright 2007
+ * Daniel Hellstrom, Gaisler Research, daniel@gaisler.com.
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef __ASM_LEON_H__
+#define __ASM_LEON_H__
+
+#if defined(CONFIG_LEON3)
+
+#include <asm/leon3.h>
+
+#elif defined(CONFIG_LEON2)
+
+#include <asm/leon2.h>
+
+#else
+
+#error Unknown LEON processor
+
+#endif
+
+/* Common stuff */
+
+#endif