]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM:mach-mx5/mx53_ard: Add Watchdog timer support
authorAndre Silva <andre.silva@freescale.com>
Mon, 13 Jun 2011 17:31:58 +0000 (14:31 -0300)
committerSascha Hauer <s.hauer@pengutronix.de>
Tue, 14 Jun 2011 20:41:10 +0000 (22:41 +0200)
Signed-off-by: Andre Silva <andre.silva@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-mx5/Kconfig
arch/arm/mach-mx5/board-mx53_ard.c

index 9a8e6f8c20144aae8e0be9248050c8249a31f7da..5b16f398a320772525894e00379e2c24c4716ffe 100644 (file)
@@ -212,6 +212,7 @@ config MACH_MX53_LOCO
 config MACH_MX53_ARD
        bool "Support MX53 ARD platforms"
        select SOC_IMX53
+       select IMX_HAVE_PLATFORM_IMX2_WDT
        select IMX_HAVE_PLATFORM_IMX_UART
        select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
        help
index 5d98dbfdfab5e68ba8319df4a298c208cd3d0da5..7dd54b9f86823147cf889b99648f9b4392c4e919 100644 (file)
@@ -178,6 +178,7 @@ static void __init mx53_ard_board_init(void)
        platform_add_devices(devices, ARRAY_SIZE(devices));
 
        imx53_add_sdhci_esdhc_imx(0, &mx53_ard_sd1_data);
+       imx53_add_imx2_wdt(0, NULL);
 }
 
 static void __init mx53_ard_timer_init(void)