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:
Florent Kermarrec 2020-11-09 15:39:42 +01:00
parent b3a42d76ce
commit 1d04b1dd83
1 changed files with 1 additions and 5 deletions

View File

@ -449,11 +449,7 @@ int sdcard_init(void) {
return 0; return 0;
/* Switch speed */ /* Switch speed */
if (sdcard_switch(SD_SWITCH_SWITCH, SD_GROUP_ACCESSMODE, SD_SPEED_SDR50) != SD_OK) if (sdcard_switch(SD_SWITCH_SWITCH, SD_GROUP_ACCESSMODE, SD_SPEED_SDR25) != SD_OK)
return 0;
/* Switch driver strength */
if (sdcard_switch(SD_SWITCH_SWITCH, SD_GROUP_DRIVERSTRENGTH, SD_DRIVER_STRENGTH_D) != SD_OK)
return 0; return 0;
/* Send SCR */ /* Send SCR */