summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPali Rohár <[email protected]>2022-05-11 20:27:12 +0200
committerPeng Fan <[email protected]>2022-06-20 15:52:44 +0800
commita29eb319a3f8ccfb657053b2941581fa1933974e (patch)
tree82c0861bafce388a301025920616b1245dc697ef /scripts
parentd49480637681c0939f7d86b41318e3cc45795036 (diff)
mmc: fsl_esdhc: Set fallback mode to 1-bit
8-bit mode is not supported by SD cards and on P2020 are four SDHC pins shared with SPI (so if P2020 board have also SPI then only 4-bit SDHC mode is provided). So 8-bit SDHC mode is really bad default. When max bus width is not provided then set mode to 1-bit. This mode is supported by all cards, so it is the best option for fallback mode. Also P2020 bootrom sets mode to 1-bit when booting from SD/MMC card. Signed-off-by: Pali Rohár <[email protected]> Reviewed-by: Jaehoon Chung <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions