diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2013-08-21 11:11:36 +0200 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2013-08-21 20:18:36 +0200 |
commit | 96d355abba19f3f099f94a8b2d3e95be32c39be7 (patch) | |
tree | f7f7a31eb7f6d69430f9a2eda4e2dd5d8dcebdfe /firmware/target/arm/imx233/ssp-imx233.h | |
parent | 462adf2a0fefbfdbccfafa11c999ac6beb114e8a (diff) | |
download | rockbox-96d355abba19f3f099f94a8b2d3e95be32c39be7.tar.gz rockbox-96d355abba19f3f099f94a8b2d3e95be32c39be7.zip |
imx233: fix drive strength for sd/mmc
At high speed, we need a drive strength of 8mA on the clock line
to get stable transfers.
Change-Id: Ida668db10cd3e10ad5740e35fd973f2fa394edb2
Diffstat (limited to 'firmware/target/arm/imx233/ssp-imx233.h')
-rw-r--r-- | firmware/target/arm/imx233/ssp-imx233.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/firmware/target/arm/imx233/ssp-imx233.h b/firmware/target/arm/imx233/ssp-imx233.h index e58c9e1c09..42c8d1fe7b 100644 --- a/firmware/target/arm/imx233/ssp-imx233.h +++ b/firmware/target/arm/imx233/ssp-imx233.h | |||
@@ -98,10 +98,8 @@ enum imx233_ssp_error_t imx233_ssp_sd_mmc_transfer(int ssp, uint8_t cmd, | |||
98 | uint32_t cmd_arg, enum imx233_ssp_resp_t resp, void *buffer, unsigned block_count, | 98 | uint32_t cmd_arg, enum imx233_ssp_resp_t resp, void *buffer, unsigned block_count, |
99 | bool wait4irq, bool read, uint32_t *resp_ptr); | 99 | bool wait4irq, bool read, uint32_t *resp_ptr); |
100 | /* pullups/alternative are ignored on targets which don't support it */ | 100 | /* pullups/alternative are ignored on targets which don't support it */ |
101 | void imx233_ssp_setup_ssp1_sd_mmc_pins(bool enable_pullups, unsigned bus_width, | 101 | void imx233_ssp_setup_ssp1_sd_mmc_pins(bool enable_pullups, unsigned bus_width, bool use_alt); |
102 | unsigned drive_strength, bool use_alt); | 102 | void imx233_ssp_setup_ssp2_sd_mmc_pins(bool enable_pullups, unsigned bus_width); |
103 | void imx233_ssp_setup_ssp2_sd_mmc_pins(bool enable_pullups, unsigned bus_width, | ||
104 | unsigned drive_strength); | ||
105 | /* after callback is fired, imx233_ssp_sdmmc_setup_detect needs to be called | 103 | /* after callback is fired, imx233_ssp_sdmmc_setup_detect needs to be called |
106 | * to enable detection again. If first_time is true, the callback will | 104 | * to enable detection again. If first_time is true, the callback will |
107 | * be called if the sd card is inserted when the function is called, otherwise | 105 | * be called if the sd card is inserted when the function is called, otherwise |