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 af8749b..10b6008 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 49d6448..8a0619b 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)