Kuninori Morimoto | aaf9128 | 2018-12-28 00:31:46 -0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Paul Mundt | f655f5e | 2010-01-28 15:08:21 +0900 | [diff] [blame] | 2 | /* |
| 3 | * arch/sh/boards/titan/setup.c - Setup for Titan |
| 4 | * |
| 5 | * Copyright (C) 2006 Jamie Lenehan |
Paul Mundt | f655f5e | 2010-01-28 15:08:21 +0900 | [diff] [blame] | 6 | */ |
| 7 | #include <linux/init.h> |
| 8 | #include <linux/irq.h> |
| 9 | #include <mach/titan.h> |
| 10 | #include <asm/io.h> |
| 11 | |
| 12 | static void __init init_titan_irq(void) |
| 13 | { |
| 14 | /* enable individual interrupt mode for externals */ |
| 15 | plat_irq_setup_pins(IRQ_MODE_IRQ); |
| 16 | } |
| 17 | |
| 18 | static struct sh_machine_vector mv_titan __initmv = { |
| 19 | .mv_name = "Titan", |
| 20 | .mv_init_irq = init_titan_irq, |
| 21 | }; |