ARM: mx5/mx51_babbage: Add watchdog support
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 6 Dec 2010 18:38:34 +0000 (16:38 -0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Tue, 7 Dec 2010 19:03:12 +0000 (20:03 +0100)
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-mx5/Kconfig
arch/arm/mach-mx5/board-mx51_babbage.c

index 7f5a6967b82f3ec9a854a6a8dc1c52d7e09d74de..5011f42f3b8ecd92b0803161e28c5d7778203b41 100644 (file)
@@ -17,6 +17,7 @@ comment "MX5 platforms:"
 config MACH_MX51_BABBAGE
        bool "Support MX51 BABBAGE platforms"
        select SOC_IMX51
+       select IMX_HAVE_PLATFORM_IMX2_WDT
        select IMX_HAVE_PLATFORM_IMX_I2C
        select IMX_HAVE_PLATFORM_IMX_UART
        select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
index 6442579c4ac5772316682fa7310fefc002ce8a04..a896f84895ada2bcecb00b228605153847aeef63 100644 (file)
@@ -387,6 +387,7 @@ static void __init mxc_board_init(void)
        spi_register_board_info(mx51_babbage_spi_board_info,
                ARRAY_SIZE(mx51_babbage_spi_board_info));
        imx51_add_ecspi(0, &mx51_babbage_spi_pdata);
+       imx51_add_imx2_wdt(0, NULL);
 }
 
 static void __init mx51_babbage_timer_init(void)