From: Paul Mundt <lethal@linux-sh.org>
Date: Tue, 20 Nov 2007 09:33:03 +0000 (+0900)
Subject: sh: Stub in CPU subtype setup code for SH5-101/103.
X-Git-Tag: firefly_0821_release~23662^2~106
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e88ed82ef8c385f84333cb8f30aec6dcb1f9e76f;p=firefly-linux-kernel-4.4.55.git

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

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
---

diff --git a/arch/sh/kernel/cpu/sh5/Makefile b/arch/sh/kernel/cpu/sh5/Makefile
index c7a9873c8d57..0ef257b72e5d 100644
--- a/arch/sh/kernel/cpu/sh5/Makefile
+++ b/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
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
index 000000000000..3680012d7109
--- /dev/null
+++ b/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 */
+}