ARM: mx3/mx35_3ds: Add watchdog support
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 16 Nov 2010 22:24:21 +0000 (23:24 +0100)
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 19 Nov 2010 20:54:36 +0000 (21:54 +0100)
This bases on a patch by Fabio Estevam who added the device before it
was allocated dynamically.

Cc: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
arch/arm/mach-mx3/Kconfig
arch/arm/mach-mx3/mach-mx35_3ds.c

index 84e4788898a51b8847ef60d251bea5f13ea6c90c..8df139f614817d00970007fe10964771d378851c 100644 (file)
@@ -178,6 +178,7 @@ config MACH_MX35_3DS
        select MXC_DEBUG_BOARD
        select IMX_HAVE_PLATFORM_ESDHC
        select IMX_HAVE_PLATFORM_FSL_USB2_UDC
+       select IMX_HAVE_PLATFORM_IMX2_WDT
        select IMX_HAVE_PLATFORM_IMX_UART
        select IMX_HAVE_PLATFORM_MXC_EHCI
        select IMX_HAVE_PLATFORM_MXC_NAND
index 73fb1157e56d285017bc86a621f17179665e42c0..d5ca7ea0743acebf11dc6cee65beae0723f77a38 100644 (file)
@@ -140,6 +140,7 @@ static void __init mxc_board_init(void)
        mxc_iomux_v3_setup_multiple_pads(mx35pdk_pads, ARRAY_SIZE(mx35pdk_pads));
 
        imx35_add_fec(NULL);
+       imx35_add_imx2_wdt(NULL);
        platform_add_devices(devices, ARRAY_SIZE(devices));
 
        imx35_add_imx_uart0(&uart_pdata);