Skip to content

Commit

Permalink
sh: Stub in CPU subtype setup code for SH5-101/103.
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Jan 28, 2008
1 parent c2672f6 commit e88ed82
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
7 changes: 7 additions & 0 deletions arch/sh/kernel/cpu/sh5/Makefile
Original file line number Diff line number Diff line change
@@ -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 changes: 15 additions & 0 deletions arch/sh/kernel/cpu/sh5/setup-sh5-101.c
Original file line number Diff line number Diff line change
@@ -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 */
}

0 comments on commit e88ed82

Please sign in to comment.