diff options
author | Michael Walle <michael@walle.cc> | 2021-03-17 15:01:37 +0100 |
---|---|---|
committer | Peng Fan <peng.fan@nxp.com> | 2021-04-06 18:36:04 +0800 |
commit | d3b745f7d00d07767a0ed85a6b139feeb8df9aaf (patch) | |
tree | 3acce1e9caed60d740445948f654d35f6445e731 /include/fsl_esdhc.h | |
parent | bd7b8505f2c0c87785488a040ff7d2711465b401 (diff) | |
download | u-boot-d3b745f7d00d07767a0ed85a6b139feeb8df9aaf.tar.gz |
mmc: fsl_esdhc: add pulse width detection workaround
HS400 mode on the LS1028A SoC isn't reliable. The linux driver has a
workaroung for the pulse width detection. Apply this workaround in
u-boot, too.
This will make HS400 mode work reliably on the LS1028A SoC.
Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'include/fsl_esdhc.h')
-rw-r--r-- | include/fsl_esdhc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/fsl_esdhc.h b/include/fsl_esdhc.h index 850a304bd7d..f86afe5dad8 100644 --- a/include/fsl_esdhc.h +++ b/include/fsl_esdhc.h @@ -190,6 +190,9 @@ #define DLL_RESET 0x40000000 #define DLL_FREQ_SEL 0x08000000 +/* DLL config 1 register */ +#define DLL_PD_PULSE_STRETCH_SEL 0x80000000 + /* DLL status 0 register */ #define DLL_STS_SLV_LOCK 0x08000000 |