diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2010-12-06 16:38:34 -0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-12-07 20:03:12 +0100 |
commit | a96efbc1fc8e4540dc1d561bb5e42a16a7b472d5 (patch) | |
tree | f8a766f163a1451efd9b101c1e03080cc5675b94 /arch/arm/mach-mx5 | |
parent | 7f77f91dc0171ac11a8b95ba761144d732d4e907 (diff) | |
download | blackbird-op-linux-a96efbc1fc8e4540dc1d561bb5e42a16a7b472d5.tar.gz blackbird-op-linux-a96efbc1fc8e4540dc1d561bb5e42a16a7b472d5.zip |
ARM: mx5/mx51_babbage: Add watchdog support
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx5')
-rw-r--r-- | arch/arm/mach-mx5/Kconfig | 1 | ||||
-rw-r--r-- | arch/arm/mach-mx5/board-mx51_babbage.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/Kconfig b/arch/arm/mach-mx5/Kconfig index 7f5a6967b82f..5011f42f3b8e 100644 --- a/arch/arm/mach-mx5/Kconfig +++ b/arch/arm/mach-mx5/Kconfig @@ -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 diff --git a/arch/arm/mach-mx5/board-mx51_babbage.c b/arch/arm/mach-mx5/board-mx51_babbage.c index 6442579c4ac5..a896f84895ad 100644 --- a/arch/arm/mach-mx5/board-mx51_babbage.c +++ b/arch/arm/mach-mx5/board-mx51_babbage.c @@ -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) |