Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 227213
b: refs/heads/master
c: e74a962
h: refs/heads/master
i:
  227211: dd9c07d
v: v3
  • Loading branch information
Magnus Damm authored and Paul Mundt committed Jan 7, 2011
1 parent a07b355 commit 9b4bfa2
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 863b171952dba1a3ce9d345cfe4e93c9fdd42f49
refs/heads/master: e74a9625f8dcf1a924345b24cec8476c52593df8
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-shmobile/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ pfc-$(CONFIG_ARCH_SH73A0) += pfc-sh73a0.o
obj-$(CONFIG_ARCH_SH7367) += entry-intc.o
obj-$(CONFIG_ARCH_SH7377) += entry-intc.o
obj-$(CONFIG_ARCH_SH7372) += entry-intc.o
obj-$(CONFIG_ARCH_SH73A0) += entry-gic.o

# Board objects
obj-$(CONFIG_MACH_G3EVM) += board-g3evm.o
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-shmobile/board-ag5evm.c
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ struct sys_timer ag5evm_timer = {
MACHINE_START(AG5EVM, "ag5evm")
.map_io = ag5evm_map_io,
.init_irq = ag5evm_init_irq,
.handle_irq = shmobile_handle_irq_gic,
.init_machine = ag5evm_init,
.timer = &ag5evm_timer,
MACHINE_END
20 changes: 20 additions & 0 deletions trunk/arch/arm/mach-shmobile/entry-gic.S
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/*
* ARM Interrupt demux handler using GIC
*
* Copyright (C) 2010 Magnus Damm
* Copyright (C) 2010 Renesas Solutions Corp.
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
* warranty of any kind, whether express or implied.
*/

#include <asm/entry-macro-multi.S>
#include <asm/hardware/gic.h>
#include <asm/hardware/entry-macro-gic.S>

.macro get_irqnr_preamble, base, tmp
ldr \base, =(0xf0000100)
.endm

arch_irq_handler shmobile_handle_irq_gic
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-shmobile/include/mach/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ extern void shmobile_setup_console(void);
struct clk;
extern int clk_init(void);
extern void shmobile_handle_irq_intc(struct pt_regs *);
extern void shmobile_handle_irq_gic(struct pt_regs *);

extern void sh7367_init_irq(void);
extern void sh7367_add_early_devices(void);
Expand Down

0 comments on commit 9b4bfa2

Please sign in to comment.