diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2011-02-17 15:09:53 -0500 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-02-18 04:57:57 -0500 |
commit | daa7954ccd8a0e99376d52c46978f16067f8c2de (patch) | |
tree | f903dbbe7c4cb497255f0c54f9873ff7e2ce89e6 /arch/arm | |
parent | 78c73591a91c120c4be02dafc018fcd7ecc8688a (diff) |
ARM: mach-mx5: Add watchdog support for MX53 based boards
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-mx5/Kconfig | 3 | ||||
-rw-r--r-- | arch/arm/mach-mx5/board-mx53_evk.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-mx5/board-mx53_loco.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-mx5/board-mx53_smd.c | 1 |
4 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/Kconfig b/arch/arm/mach-mx5/Kconfig index 026b68180c86..6466d7389c31 100644 --- a/arch/arm/mach-mx5/Kconfig +++ b/arch/arm/mach-mx5/Kconfig | |||
@@ -138,6 +138,7 @@ config MACH_MX51_EFIKASB | |||
138 | config MACH_MX53_EVK | 138 | config MACH_MX53_EVK |
139 | bool "Support MX53 EVK platforms" | 139 | bool "Support MX53 EVK platforms" |
140 | select SOC_IMX53 | 140 | select SOC_IMX53 |
141 | select IMX_HAVE_PLATFORM_IMX2_WDT | ||
141 | select IMX_HAVE_PLATFORM_IMX_UART | 142 | select IMX_HAVE_PLATFORM_IMX_UART |
142 | select IMX_HAVE_PLATFORM_IMX_I2C | 143 | select IMX_HAVE_PLATFORM_IMX_I2C |
143 | select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX | 144 | select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX |
@@ -149,6 +150,7 @@ config MACH_MX53_EVK | |||
149 | config MACH_MX53_SMD | 150 | config MACH_MX53_SMD |
150 | bool "Support MX53 SMD platforms" | 151 | bool "Support MX53 SMD platforms" |
151 | select SOC_IMX53 | 152 | select SOC_IMX53 |
153 | select IMX_HAVE_PLATFORM_IMX2_WDT | ||
152 | select IMX_HAVE_PLATFORM_IMX_UART | 154 | select IMX_HAVE_PLATFORM_IMX_UART |
153 | help | 155 | help |
154 | Include support for MX53 SMD platform. This includes specific | 156 | Include support for MX53 SMD platform. This includes specific |
@@ -157,6 +159,7 @@ config MACH_MX53_SMD | |||
157 | config MACH_MX53_LOCO | 159 | config MACH_MX53_LOCO |
158 | bool "Support MX53 LOCO platforms" | 160 | bool "Support MX53 LOCO platforms" |
159 | select SOC_IMX53 | 161 | select SOC_IMX53 |
162 | select IMX_HAVE_PLATFORM_IMX2_WDT | ||
160 | select IMX_HAVE_PLATFORM_IMX_UART | 163 | select IMX_HAVE_PLATFORM_IMX_UART |
161 | help | 164 | help |
162 | Include support for MX53 LOCO platform. This includes specific | 165 | Include support for MX53 LOCO platform. This includes specific |
diff --git a/arch/arm/mach-mx5/board-mx53_evk.c b/arch/arm/mach-mx5/board-mx53_evk.c index 8ed316bc5260..652e1e0131b3 100644 --- a/arch/arm/mach-mx5/board-mx53_evk.c +++ b/arch/arm/mach-mx5/board-mx53_evk.c | |||
@@ -137,6 +137,7 @@ static void __init mx53_evk_board_init(void) | |||
137 | spi_register_board_info(mx53_evk_spi_board_info, | 137 | spi_register_board_info(mx53_evk_spi_board_info, |
138 | ARRAY_SIZE(mx53_evk_spi_board_info)); | 138 | ARRAY_SIZE(mx53_evk_spi_board_info)); |
139 | imx53_add_ecspi(0, &mx53_evk_spi_data); | 139 | imx53_add_ecspi(0, &mx53_evk_spi_data); |
140 | imx53_add_imx2_wdt(0, NULL); | ||
140 | } | 141 | } |
141 | 142 | ||
142 | static void __init mx53_evk_timer_init(void) | 143 | static void __init mx53_evk_timer_init(void) |
diff --git a/arch/arm/mach-mx5/board-mx53_loco.c b/arch/arm/mach-mx5/board-mx53_loco.c index 0fea252d42eb..6005f4945c74 100644 --- a/arch/arm/mach-mx5/board-mx53_loco.c +++ b/arch/arm/mach-mx5/board-mx53_loco.c | |||
@@ -69,6 +69,7 @@ static void __init mx53_loco_board_init(void) | |||
69 | imx53_add_imx_uart(0, NULL); | 69 | imx53_add_imx_uart(0, NULL); |
70 | mx53_loco_fec_reset(); | 70 | mx53_loco_fec_reset(); |
71 | imx53_add_fec(&mx53_loco_fec_data); | 71 | imx53_add_fec(&mx53_loco_fec_data); |
72 | imx53_add_imx2_wdt(0, NULL); | ||
72 | } | 73 | } |
73 | 74 | ||
74 | static void __init mx53_loco_timer_init(void) | 75 | static void __init mx53_loco_timer_init(void) |
diff --git a/arch/arm/mach-mx5/board-mx53_smd.c b/arch/arm/mach-mx5/board-mx53_smd.c index fa0fad80fd84..8a8694c3eb25 100644 --- a/arch/arm/mach-mx5/board-mx53_smd.c +++ b/arch/arm/mach-mx5/board-mx53_smd.c | |||
@@ -90,6 +90,7 @@ static void __init mx53_smd_board_init(void) | |||
90 | mx53_smd_init_uart(); | 90 | mx53_smd_init_uart(); |
91 | mx53_smd_fec_reset(); | 91 | mx53_smd_fec_reset(); |
92 | imx53_add_fec(&mx53_smd_fec_data); | 92 | imx53_add_fec(&mx53_smd_fec_data); |
93 | imx53_add_imx2_wdt(0, NULL); | ||
93 | } | 94 | } |
94 | 95 | ||
95 | static void __init mx53_smd_timer_init(void) | 96 | static void __init mx53_smd_timer_init(void) |