Browse Source

sh: Stub in CPU subtype setup code for SH5-101/103.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt 17 years ago
parent
commit
e88ed82ef8
2 changed files with 22 additions and 0 deletions
  1. 7 0
      arch/sh/kernel/cpu/sh5/Makefile
  2. 15 0
      arch/sh/kernel/cpu/sh5/setup-sh5-101.c

+ 7 - 0
arch/sh/kernel/cpu/sh5/Makefile

@@ -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

+ 15 - 0
arch/sh/kernel/cpu/sh5/setup-sh5-101.c

@@ -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 */
+}