mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
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
This commit is contained in:
parent
462adf2a0f
commit
96d355abba
3 changed files with 47 additions and 40 deletions
|
|
@ -98,10 +98,8 @@ enum imx233_ssp_error_t imx233_ssp_sd_mmc_transfer(int ssp, uint8_t cmd,
|
|||
uint32_t cmd_arg, enum imx233_ssp_resp_t resp, void *buffer, unsigned block_count,
|
||||
bool wait4irq, bool read, uint32_t *resp_ptr);
|
||||
/* pullups/alternative are ignored on targets which don't support it */
|
||||
void imx233_ssp_setup_ssp1_sd_mmc_pins(bool enable_pullups, unsigned bus_width,
|
||||
unsigned drive_strength, bool use_alt);
|
||||
void imx233_ssp_setup_ssp2_sd_mmc_pins(bool enable_pullups, unsigned bus_width,
|
||||
unsigned drive_strength);
|
||||
void imx233_ssp_setup_ssp1_sd_mmc_pins(bool enable_pullups, unsigned bus_width, bool use_alt);
|
||||
void imx233_ssp_setup_ssp2_sd_mmc_pins(bool enable_pullups, unsigned bus_width);
|
||||
/* after callback is fired, imx233_ssp_sdmmc_setup_detect needs to be called
|
||||
* to enable detection again. If first_time is true, the callback will
|
||||
* be called if the sd card is inserted when the function is called, otherwise
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue