[U-Boot] [PATCH 1/2 V2] powerpc/esdhc: Map register for eSDHC Host Controller V3.0

Haijun Zhang Haijun.Zhang at freescale.com
Wed Oct 30 04:37:54 CET 2013


eSDHC host controller has new register to support SD Spec 3.0.
And the according host controller version was Freescale eSDHC
Version 3.0.

Signed-off-by: Haijun Zhang <haijun.zhang at freescale.com>
---
changes:
	- Split from patch [PATCH] powerpc/esdhc: Map
	  register for eSDHC host controller 3.0

 drivers/mmc/fsl_esdhc.c | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c
index 1fba3f7..a3b165e 100644
--- a/drivers/mmc/fsl_esdhc.c
+++ b/drivers/mmc/fsl_esdhc.c
@@ -45,9 +45,21 @@ struct fsl_esdhc {
 	uint    mixctrl;
 	char    reserved1[4];
 	uint	fevt;
-	char	reserved2[168];
+	uint	admaes;
+	uint	adsaddr;
+	char	reserved2[160];
 	uint	hostver;
-	char	reserved3[780];
+	char	reserved3[4];
+	uint	dmaerraddr;
+	char	reserved4[4];
+	uint	dmaerrattr;
+	char	reserved5[4];
+	uint	hostcapblt2;
+	char	reserved6[8];
+	uint	tcr;
+	char	reserved7[28];
+	uint	sddirctl;
+	char	reserved8[712];
 	uint	scr;
 };
 
-- 
1.8.4




More information about the U-Boot mailing list