summaryrefslogtreecommitdiff
path: root/arch/arm/plat-mxc
diff options
context:
space:
mode:
authorAlison Wang <b18965@freescale.com>2012-10-08 13:45:50 +0800
committerAndy Voltz <andy.voltz@timesys.com>2012-10-17 14:37:25 -0400
commit22a4d5c27e8b90264637dcec6bfd02766daa3dd5 (patch)
tree6a9f60bd6d139fa0a72e422c21fde67318256ca1 /arch/arm/plat-mxc
parent56c3a9d88448dfdd858f69b8733cc91a505766cb (diff)
ENGR00212250-1: watchdog: Add platform support for watchdog driver
Add platform support for watchdog driver. Signed-off-by: Wang Xiaojun <b41435@freescale.com>
Diffstat (limited to 'arch/arm/plat-mxc')
-rw-r--r--arch/arm/plat-mxc/devices/platform-imx2-wdt.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/devices/platform-imx2-wdt.c b/arch/arm/plat-mxc/devices/platform-imx2-wdt.c
index 872515a04099..764e5bb7b771 100644
--- a/arch/arm/plat-mxc/devices/platform-imx2-wdt.c
+++ b/arch/arm/plat-mxc/devices/platform-imx2-wdt.c
@@ -71,6 +71,14 @@ const struct imx_imx2_wdt_data imx6q_imx2_wdt_data[] __initconst = {
};
#endif
+#ifdef CONFIG_SOC_MVFA5
+const struct imx_imx2_wdt_data fsl_imx2_wdt_data[] __initconst = {
+#define fsl_imx2_wdt_data_entry(_id, _hwid) \
+ imx_imx2_wdt_data_entry(MVF, _id, _hwid, SZ_16K)
+ fsl_imx2_wdt_data_entry(0, 1),
+};
+#endif /* ifdef CONFIG_SOC_MVFA5 */
+
struct platform_device *__init imx_add_imx2_wdt(
const struct imx_imx2_wdt_data *data)
{