diff options
| author | Jerry Huang <Chang-Ming.Huang@freescale.com> | 2010-03-18 15:57:06 -0500 | 
|---|---|---|
| committer | Kumar Gala <galak@kernel.crashing.org> | 2010-04-07 00:01:11 -0500 | 
| commit | 48bb3bb5ac4dd21e931ae157caad6449bcb2d0d4 (patch) | |
| tree | c5d04449f57b2ef4817a2b5e050d8437683fa1b1 /include/fsl_esdhc.h | |
| parent | cc4d1226585fa2544b5116702b02eacbb7aa48a1 (diff) | |
| download | olio-uboot-2014.01-48bb3bb5ac4dd21e931ae157caad6449bcb2d0d4.tar.xz olio-uboot-2014.01-48bb3bb5ac4dd21e931ae157caad6449bcb2d0d4.zip | |
fsl_esdhc: Add function to reset the eSDHC controller
To support multiple block read command we must set abort or use auto
CMD12.  If we booted from eSDHC controller neither of these are used
and thus we need to reset the controller to allow multiple block read
to function.
Signed-off-by: Jerry Huang <Chang-Ming.Huang@freescale.com>
Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
Acked-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/fsl_esdhc.h')
| -rw-r--r-- | include/fsl_esdhc.h | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/include/fsl_esdhc.h b/include/fsl_esdhc.h index 57a08cd4c..5f020187c 100644 --- a/include/fsl_esdhc.h +++ b/include/fsl_esdhc.h @@ -39,6 +39,7 @@  #define SYSCTL_PEREN		0x00000004  #define SYSCTL_HCKEN		0x00000002  #define SYSCTL_IPGEN		0x00000001 +#define SYSCTL_RSTA		0x01000000  #define IRQSTAT			0x0002e030  #define IRQSTAT_DMAE		(0x10000000) |