mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Default to normal bus timing mode on SD cards. In practice, most
cards people have today support high speed mode, so the timing field would be initialized to bus_timing_hs, but there are some slow cards...
This commit is contained in:
parent
c5fb414e0a
commit
b63865c6bf
1 changed files with 1 additions and 0 deletions
|
|
@ -1118,6 +1118,7 @@ mmc_discover_cards(struct mmc_softc *sc)
|
|||
mmc_app_send_scr(sc, ivar->rca, ivar->raw_scr);
|
||||
mmc_app_decode_scr(ivar->raw_scr, &ivar->scr);
|
||||
/* Get card switch capabilities. */
|
||||
ivar->timing = bus_timing_normal;
|
||||
if ((ivar->scr.sda_vsn >= 1) &&
|
||||
(ivar->csd.ccc & (1<<10))) {
|
||||
mmc_sd_switch(sc, 0, 0, 0xF, switch_res);
|
||||
|
|
|
|||
Loading…
Reference in a new issue