aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-11-20 04:33:03 -0500
committerPaul Mundt <lethal@linux-sh.org>2008-01-27 23:18:50 -0500
commite88ed82ef8c385f84333cb8f30aec6dcb1f9e76f (patch)
treee6752742677fa4fde8e27f71d17ff3f5f969267f
parentc2672f62e734292bca4ce4ab5e89c7e04ecb70dc (diff)
sh: Stub in CPU subtype setup code for SH5-101/103.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r--arch/sh/kernel/cpu/sh5/Makefile7
-rw-r--r--arch/sh/kernel/cpu/sh5/setup-sh5-101.c15
2 files changed, 22 insertions, 0 deletions
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 @@
1#
2# Makefile for the Linux/SuperH SH-5 backends.
3#
1obj-y := entry.o probe.o switchto.o 4obj-y := entry.o probe.o switchto.o
2 5
3obj-$(CONFIG_SH_FPU) += fpu.o 6obj-$(CONFIG_SH_FPU) += fpu.o
4obj-$(CONFIG_KALLSYMS) += unwind.o 7obj-$(CONFIG_KALLSYMS) += unwind.o
8
9# CPU subtype setup
10obj-$(CONFIG_CPU_SUBTYPE_SH5_101) += setup-sh5-101.o
11obj-$(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 @@
1/*
2 * SH5-101 Setup
3 *
4 * Copyright (C) 2007 Paul Mundt
5 *
6 * This file is subject to the terms and conditions of the GNU General Public
7 * License. See the file "COPYING" in the main directory of this archive
8 * for more details.
9 */
10#include <linux/init.h>
11
12void __init plat_irq_setup(void)
13{
14 /* do nothing - all IRL interrupts are handled by the board code */
15}