ARM: mx5/mx51_3ds: Add watchdog support
authorDaiane Angolini <daiane.angolini@freescale.com>
Thu, 9 Dec 2010 17:50:49 +0000 (15:50 -0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Mon, 24 Jan 2011 07:44:01 +0000 (08:44 +0100)
Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-mx5/Kconfig
arch/arm/mach-mx5/board-mx51_3ds.c

index af8749b04ff197eb29b5d460ad2f22679370bbeb..10b600800fa9bbcd47984bf0dafa42fb7e354bf5 100644 (file)
@@ -50,6 +50,7 @@ config MACH_MX51_BABBAGE
 config MACH_MX51_3DS
        bool "Support MX51PDK (3DS)"
        select SOC_IMX51
+       select IMX_HAVE_PLATFORM_IMX2_WDT
        select IMX_HAVE_PLATFORM_IMX_KEYPAD
        select IMX_HAVE_PLATFORM_IMX_UART
        select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
index 49d644842379c1e7c6deec4257354b85ad74422d..8a0619b5af91d1dd795a598f3a2599ca8acf531e 100644 (file)
@@ -173,6 +173,7 @@ static void __init mxc_board_init(void)
 
        imx51_add_sdhci_esdhc_imx(0, NULL);
        mxc_init_keypad();
+       imx51_add_imx2_wdt(0, NULL);
 }
 
 static void __init mx51_3ds_timer_init(void)