diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-11-16 17:24:21 -0500 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-11-19 15:54:36 -0500 |
commit | c496fa6bd5324ddce11e5e42670618ffb4d8f58d (patch) | |
tree | b19f0ffccf9439a7a9a26a7584bfd0099d82391c | |
parent | d690b4c4778096cde018709efd005dfef9714297 (diff) |
ARM: mx3/mx35_3ds: Add watchdog support
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>
-rw-r--r-- | arch/arm/mach-mx3/Kconfig | 1 | ||||
-rw-r--r-- | arch/arm/mach-mx3/mach-mx35_3ds.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-mx3/Kconfig b/arch/arm/mach-mx3/Kconfig index 84e4788898a5..8df139f61481 100644 --- a/arch/arm/mach-mx3/Kconfig +++ b/arch/arm/mach-mx3/Kconfig | |||
@@ -178,6 +178,7 @@ config MACH_MX35_3DS | |||
178 | select MXC_DEBUG_BOARD | 178 | select MXC_DEBUG_BOARD |
179 | select IMX_HAVE_PLATFORM_ESDHC | 179 | select IMX_HAVE_PLATFORM_ESDHC |
180 | select IMX_HAVE_PLATFORM_FSL_USB2_UDC | 180 | select IMX_HAVE_PLATFORM_FSL_USB2_UDC |
181 | select IMX_HAVE_PLATFORM_IMX2_WDT | ||
181 | select IMX_HAVE_PLATFORM_IMX_UART | 182 | select IMX_HAVE_PLATFORM_IMX_UART |
182 | select IMX_HAVE_PLATFORM_MXC_EHCI | 183 | select IMX_HAVE_PLATFORM_MXC_EHCI |
183 | select IMX_HAVE_PLATFORM_MXC_NAND | 184 | select IMX_HAVE_PLATFORM_MXC_NAND |
diff --git a/arch/arm/mach-mx3/mach-mx35_3ds.c b/arch/arm/mach-mx3/mach-mx35_3ds.c index 73fb1157e56d..d5ca7ea0743a 100644 --- a/arch/arm/mach-mx3/mach-mx35_3ds.c +++ b/arch/arm/mach-mx3/mach-mx35_3ds.c | |||
@@ -140,6 +140,7 @@ static void __init mxc_board_init(void) | |||
140 | mxc_iomux_v3_setup_multiple_pads(mx35pdk_pads, ARRAY_SIZE(mx35pdk_pads)); | 140 | mxc_iomux_v3_setup_multiple_pads(mx35pdk_pads, ARRAY_SIZE(mx35pdk_pads)); |
141 | 141 | ||
142 | imx35_add_fec(NULL); | 142 | imx35_add_fec(NULL); |
143 | imx35_add_imx2_wdt(NULL); | ||
143 | platform_add_devices(devices, ARRAY_SIZE(devices)); | 144 | platform_add_devices(devices, ARRAY_SIZE(devices)); |
144 | 145 | ||
145 | imx35_add_imx_uart0(&uart_pdata); | 146 | imx35_add_imx_uart0(&uart_pdata); |