mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
software/liblitesdcard: Operate the SDCard in 3.3V/High Speed.
SDR50/Driver strength configuration is for 1.8V that is no longer supported (for simplicity).
This commit is contained in:
parent
b3a42d76ce
commit
1d04b1dd83
1 changed files with 1 additions and 5 deletions
|
@ -449,11 +449,7 @@ int sdcard_init(void) {
|
|||
return 0;
|
||||
|
||||
/* Switch speed */
|
||||
if (sdcard_switch(SD_SWITCH_SWITCH, SD_GROUP_ACCESSMODE, SD_SPEED_SDR50) != SD_OK)
|
||||
return 0;
|
||||
|
||||
/* Switch driver strength */
|
||||
if (sdcard_switch(SD_SWITCH_SWITCH, SD_GROUP_DRIVERSTRENGTH, SD_DRIVER_STRENGTH_D) != SD_OK)
|
||||
if (sdcard_switch(SD_SWITCH_SWITCH, SD_GROUP_ACCESSMODE, SD_SPEED_SDR25) != SD_OK)
|
||||
return 0;
|
||||
|
||||
/* Send SCR */
|
||||
|
|
Loading…
Reference in a new issue