mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] i.MX53: add imx53_add_mmc3
@ 2013-08-27 19:42 Eric Bénard
  2013-08-28  9:10 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Bénard @ 2013-08-27 19:42 UTC (permalink / raw)
  To: barebox

Signed-off-by: Eric Bénard <eric@eukrea.com>
---
 arch/arm/mach-imx/include/mach/devices-imx53.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/mach-imx/include/mach/devices-imx53.h b/arch/arm/mach-imx/include/mach/devices-imx53.h
index df14654..4621c53 100644
--- a/arch/arm/mach-imx/include/mach/devices-imx53.h
+++ b/arch/arm/mach-imx/include/mach/devices-imx53.h
@@ -62,6 +62,11 @@ static inline struct device_d *imx53_add_mmc2(struct esdhc_platform_data *pdata)
 	return imx_add_esdhc((void *)MX53_ESDHC3_BASE_ADDR, 2, pdata);
 }
 
+static inline struct device_d *imx53_add_mmc3(struct esdhc_platform_data *pdata)
+{
+	return imx_add_esdhc((void *)MX53_ESDHC4_BASE_ADDR, 3, pdata);
+}
+
 static inline struct device_d *imx53_add_nand(struct imx_nand_platform_data *pdata)
 {
 	struct resource res[] = {
-- 
1.8.3.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-28  9:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-27 19:42 [PATCH] i.MX53: add imx53_add_mmc3 Eric Bénard
2013-08-28  9:10 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox