From bbb433639c8e7b0ab68b7ed05871272880db4094 Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Mon, 19 Sep 2011 10:59:46 -0300 Subject: ARM: mach-qong: Add watchdog support Add watchdog support for mach-qong target. Signed-off-by: Fabio Estevam Tested-by : Stefano Babic Signed-off-by: Sascha Hauer --- arch/arm/mach-imx/mach-qong.c | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/arm/mach-imx/mach-qong.c') diff --git a/arch/arm/mach-imx/mach-qong.c b/arch/arm/mach-imx/mach-qong.c index 3626f486498a..44462cef7d58 100644 --- a/arch/arm/mach-imx/mach-qong.c +++ b/arch/arm/mach-imx/mach-qong.c @@ -249,6 +249,7 @@ static void __init qong_init(void) mxc_init_imx_uart(); qong_init_nor_mtd(); qong_init_fpga(); + imx31_add_imx2_wdt(NULL); } static void __init qong_timer_init(void) -- cgit v1.2.2 From ffa2ea3f5d32b21cba80e9274a0c5bcd766987ef Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Tue, 20 Sep 2011 14:31:24 +0200 Subject: ARM i.MX boards: use CONFIG_MULTI_IRQ_HANDLER Also, add handle_irq callbacks to machine descriptors. Signed-off-by: Sascha Hauer --- arch/arm/mach-imx/mach-qong.c | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/arm/mach-imx/mach-qong.c') diff --git a/arch/arm/mach-imx/mach-qong.c b/arch/arm/mach-imx/mach-qong.c index 3626f486498a..3a8a713eccce 100644 --- a/arch/arm/mach-imx/mach-qong.c +++ b/arch/arm/mach-imx/mach-qong.c @@ -266,6 +266,7 @@ MACHINE_START(QONG, "Dave/DENX QongEVB-LITE") .map_io = mx31_map_io, .init_early = imx31_init_early, .init_irq = mx31_init_irq, + .handle_irq = imx31_handle_irq, .timer = &qong_timer, .init_machine = qong_init, MACHINE_END -- cgit v1.2.2