]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
sh: Stub in CPU subtype setup code for SH5-101/103.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 20 Nov 2007 09:33:03 +0000 (18:33 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 28 Jan 2008 04:18:50 +0000 (13:18 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/sh5/Makefile
arch/sh/kernel/cpu/sh5/setup-sh5-101.c [new file with mode: 0644]

index c7a9873c8d57e9bef770b48ba7f3753d6a8a9036..0ef257b72e5db14243ae5a3d9f56cb5991870f53 100644 (file)
@@ -1,4 +1,11 @@
+#
+# Makefile for the Linux/SuperH SH-5 backends.
+#
 obj-y := entry.o probe.o switchto.o
 
 obj-$(CONFIG_SH_FPU)           += fpu.o
 obj-$(CONFIG_KALLSYMS)         += unwind.o
+
+# CPU subtype setup
+obj-$(CONFIG_CPU_SUBTYPE_SH5_101)      += setup-sh5-101.o
+obj-$(CONFIG_CPU_SUBTYPE_SH5_103)      += setup-sh5-101.o
diff --git a/arch/sh/kernel/cpu/sh5/setup-sh5-101.c b/arch/sh/kernel/cpu/sh5/setup-sh5-101.c
new file mode 100644 (file)
index 0000000..3680012
--- /dev/null
@@ -0,0 +1,15 @@
+/*
+ * SH5-101 Setup
+ *
+ *  Copyright (C) 2007  Paul Mundt
+ *
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License.  See the file "COPYING" in the main directory of this archive
+ * for more details.
+ */
+#include <linux/init.h>
+
+void __init plat_irq_setup(void)
+{
+       /* do nothing - all IRL interrupts are handled by the board code */
+}