aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2011-09-19 09:59:46 -0400
committerSascha Hauer <s.hauer@pengutronix.de>2011-09-20 03:41:12 -0400
commitbbb433639c8e7b0ab68b7ed05871272880db4094 (patch)
treed1d0cbf2ccbf4a9e97258a27bac00f0fd54717c6
parent600ea5cd76d0db0a4af4557a45d1ac4400fdadf5 (diff)
ARM: mach-qong: Add watchdog support
Add watchdog support for mach-qong target. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Tested-by : Stefano Babic <sbabic@denx.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/mach-imx/Kconfig1
-rw-r--r--arch/arm/mach-imx/mach-qong.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index 0253e66ada49..e3ad2c4fb21b 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -486,6 +486,7 @@ config MACH_QONG
486 bool "Support Dave/DENX QongEVB-LITE platform" 486 bool "Support Dave/DENX QongEVB-LITE platform"
487 select SOC_IMX31 487 select SOC_IMX31
488 select IMX_HAVE_PLATFORM_IMX_UART 488 select IMX_HAVE_PLATFORM_IMX_UART
489 select IMX_HAVE_PLATFORM_IMX2_WDT
489 help 490 help
490 Include support for Dave/DENX QongEVB-LITE platform. This includes 491 Include support for Dave/DENX QongEVB-LITE platform. This includes
491 specific configurations for the board and its peripherals. 492 specific configurations for the board and its peripherals.
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)
249 mxc_init_imx_uart(); 249 mxc_init_imx_uart();
250 qong_init_nor_mtd(); 250 qong_init_nor_mtd();
251 qong_init_fpga(); 251 qong_init_fpga();
252 imx31_add_imx2_wdt(NULL);
252} 253}
253 254
254static void __init qong_timer_init(void) 255static void __init qong_timer_init(void)