summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx5
diff options
context:
space:
mode:
authorAndre Silva <andre.silva@freescale.com>2011-06-13 14:31:58 -0300
committerSascha Hauer <s.hauer@pengutronix.de>2011-07-07 10:01:09 +0200
commit40d32c89c897e573f28653920b223b07efbcfac8 (patch)
tree464be703153056f921e1d3b01f027ae757e1bebe /arch/arm/mach-mx5
parente3a58be3be7f0d7cf3c0966f3f3369acfab421e8 (diff)
ARM:mach-mx5/mx53_ard: Add Watchdog timer support
Signed-off-by: Andre Silva <andre.silva@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/Kconfig1
-rw-r--r--arch/arm/mach-mx5/board-mx53_ard.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/Kconfig b/arch/arm/mach-mx5/Kconfig
index 9a8e6f8c2014..5b16f398a320 100644
--- a/arch/arm/mach-mx5/Kconfig
+++ b/arch/arm/mach-mx5/Kconfig
@@ -212,6 +212,7 @@ config MACH_MX53_LOCO
config MACH_MX53_ARD
bool "Support MX53 ARD platforms"
select SOC_IMX53
+ select IMX_HAVE_PLATFORM_IMX2_WDT
select IMX_HAVE_PLATFORM_IMX_UART
select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
help
diff --git a/arch/arm/mach-mx5/board-mx53_ard.c b/arch/arm/mach-mx5/board-mx53_ard.c
index 5d98dbfdfab5..7dd54b9f8682 100644
--- a/arch/arm/mach-mx5/board-mx53_ard.c
+++ b/arch/arm/mach-mx5/board-mx53_ard.c
@@ -178,6 +178,7 @@ static void __init mx53_ard_board_init(void)
platform_add_devices(devices, ARRAY_SIZE(devices));
imx53_add_sdhci_esdhc_imx(0, &mx53_ard_sd1_data);
+ imx53_add_imx2_wdt(0, NULL);
}
static void __init mx53_ard_timer_init(void)