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
|
@ -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 New Issue