ARM: mach-mx5: Add watchdog support for MX53 based boards
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 17 Feb 2011 20:09:53 +0000 (18:09 -0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Fri, 18 Feb 2011 09:57:57 +0000 (10:57 +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-mx53_evk.c
arch/arm/mach-mx5/board-mx53_loco.c
arch/arm/mach-mx5/board-mx53_smd.c

index 026b68180c86e26e315303578a2b7f99d11e82b2..6466d7389c31a65782f409119267a0fb12d39da9 100644 (file)
@@ -138,6 +138,7 @@ config MACH_MX51_EFIKASB
 config MACH_MX53_EVK
        bool "Support MX53 EVK platforms"
        select SOC_IMX53
+       select IMX_HAVE_PLATFORM_IMX2_WDT
        select IMX_HAVE_PLATFORM_IMX_UART
        select IMX_HAVE_PLATFORM_IMX_I2C
        select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
@@ -149,6 +150,7 @@ config MACH_MX53_EVK
 config MACH_MX53_SMD
        bool "Support MX53 SMD platforms"
        select SOC_IMX53
+       select IMX_HAVE_PLATFORM_IMX2_WDT
        select IMX_HAVE_PLATFORM_IMX_UART
        help
          Include support for MX53 SMD platform. This includes specific
@@ -157,6 +159,7 @@ config MACH_MX53_SMD
 config MACH_MX53_LOCO
        bool "Support MX53 LOCO platforms"
        select SOC_IMX53
+       select IMX_HAVE_PLATFORM_IMX2_WDT
        select IMX_HAVE_PLATFORM_IMX_UART
        help
          Include support for MX53 LOCO platform. This includes specific
index 8ed316bc5260a2f9ee1991c333f172b380e93d5e..652e1e0131b32270a4ae74471f724ddf244552bc 100644 (file)
@@ -137,6 +137,7 @@ static void __init mx53_evk_board_init(void)
        spi_register_board_info(mx53_evk_spi_board_info,
                ARRAY_SIZE(mx53_evk_spi_board_info));
        imx53_add_ecspi(0, &mx53_evk_spi_data);
+       imx53_add_imx2_wdt(0, NULL);
 }
 
 static void __init mx53_evk_timer_init(void)
index 0fea252d42ebf60faf144b1e8a6517687ba947f3..6005f4945c7455c949954bfb23bca9e53391ca40 100644 (file)
@@ -69,6 +69,7 @@ static void __init mx53_loco_board_init(void)
        imx53_add_imx_uart(0, NULL);
        mx53_loco_fec_reset();
        imx53_add_fec(&mx53_loco_fec_data);
+       imx53_add_imx2_wdt(0, NULL);
 }
 
 static void __init mx53_loco_timer_init(void)
index fa0fad80fd84d14ea84087c0c4ee6d70c78fce8e..8a8694c3eb25b82ef0d5a265cb51bd354df7581e 100644 (file)
@@ -90,6 +90,7 @@ static void __init mx53_smd_board_init(void)
        mx53_smd_init_uart();
        mx53_smd_fec_reset();
        imx53_add_fec(&mx53_smd_fec_data);
+       imx53_add_imx2_wdt(0, NULL);
 }
 
 static void __init mx53_smd_timer_init(void)