summaryrefslogtreecommitdiff
path: root/arch/arm/plat-mxc/devices
diff options
context:
space:
mode:
authorRobby Cai <R63905@freescale.com>2012-02-13 16:46:52 +0800
committerRobby Cai <R63905@freescale.com>2012-02-14 23:32:36 +0800
commit229b256df8f214b75fa275b61575dc9930931c9d (patch)
tree9fe0b8409e1e733efd05b80cbedf72d5aaef56b1 /arch/arm/plat-mxc/devices
parent322e0ae4bff56cbde45fea9ce0728018e9fa2292 (diff)
ENGR00174299-2: MSL part: add ePxP V2 driver
MSL part for ePxP v2 driver Signed-off-by: Robby Cai <R63905@freescale.com>
Diffstat (limited to 'arch/arm/plat-mxc/devices')
-rw-r--r--arch/arm/plat-mxc/devices/platform-imx-pxp.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/arch/arm/plat-mxc/devices/platform-imx-pxp.c b/arch/arm/plat-mxc/devices/platform-imx-pxp.c
index 51030c57ca83..3ae3e4880e1d 100644
--- a/arch/arm/plat-mxc/devices/platform-imx-pxp.c
+++ b/arch/arm/plat-mxc/devices/platform-imx-pxp.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2011 Freescale Semiconductor, Inc. All Rights Reserved.
+ * Copyright (C) 2011-2012 Freescale Semiconductor, Inc. All Rights Reserved.
*/
/*
@@ -22,7 +22,7 @@
#include <mach/hardware.h>
#include <mach/devices-common.h>
-#define imx5_pxp_data_entry_single(soc, size) \
+#define imx_pxp_data_entry_single(soc, size) \
{ \
.iobase = soc ## _EPXP_BASE_ADDR, \
.irq = soc ## _INT_EPXP, \
@@ -31,7 +31,12 @@
#ifdef CONFIG_SOC_IMX50
const struct imx_pxp_data imx50_pxp_data __initconst =
- imx5_pxp_data_entry_single(MX50, SZ_4K);
+ imx_pxp_data_entry_single(MX50, SZ_4K);
+#endif
+
+#ifdef CONFIG_SOC_IMX6Q
+const struct imx_pxp_data imx6dl_pxp_data __initconst =
+ imx_pxp_data_entry_single(MX6DL, SZ_16K);
#endif
struct platform_device *__init imx_add_imx_pxp(