diff options
author | Ying-Chun Liu (PaulLiu) <paulliu@debian.org> | 2019-02-12 22:41:06 +0800 |
---|---|---|
committer | Ying-Chun Liu (PaulLiu) <paulliu@debian.org> | 2019-02-27 01:06:57 +0800 |
commit | 2c8ef2ae6b8103da5b6b82b2252877d61c2522bf (patch) | |
tree | bea32a4d9767a86df3e41b09ee0ad36055f8aabe /include/drivers | |
parent | ab3d22473df279c61ed4d4873d26b072dcf887e8 (diff) |
rpi3: sdhost: SDHost driver improvement
This commit improves the SDHost driver for RPi3 as following:
* Unblock MMC_CMD(17). Using MMC_CMD(17) is more efficient on
block reading.
* In some low probability that SEND_OP_COND might results CRC7
error. We can consider that the command runs correctly. We don't
need to retry this command so removing the code for retry.
* Using MMC_BUS_WIDTH_1 as MMC default value to improve the stability.
* Increase the clock to 50Mhz in data mode to speed up the io.
* Change the pull resistors configuration to gain more stability.
Signed-off-by: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
Diffstat (limited to 'include/drivers')
-rw-r--r-- | include/drivers/rpi3/sdhost/rpi3_sdhost.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/drivers/rpi3/sdhost/rpi3_sdhost.h b/include/drivers/rpi3/sdhost/rpi3_sdhost.h index bc906e39..1653240c 100644 --- a/include/drivers/rpi3/sdhost/rpi3_sdhost.h +++ b/include/drivers/rpi3/sdhost/rpi3_sdhost.h @@ -21,7 +21,6 @@ struct rpi3_sdhost_params { uint8_t cmdbusy; uint8_t mmc_app_cmd; uint32_t ns_per_fifo_word; - uint32_t crc_err_retries; uint32_t sdcard_rca; uint32_t gpio48_pinselect[6]; |