mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 23:02:02 -04:00
Limit the speed to the bus frequency.
Sponsored by: ABT Systems Ltd
This commit is contained in:
parent
488d593a0c
commit
fd59e3a9d8
1 changed files with 1 additions and 1 deletions
|
|
@ -651,7 +651,7 @@ dwmmc_attach(device_t dev)
|
|||
WRITE4(sc, SDMMC_CTRL, SDMMC_CTRL_INT_ENABLE);
|
||||
|
||||
sc->host.f_min = 400000;
|
||||
sc->host.f_max = 200000000;
|
||||
sc->host.f_max = min(200000000, sc->bus_hz);
|
||||
sc->host.host_ocr = MMC_OCR_320_330 | MMC_OCR_330_340;
|
||||
sc->host.caps = MMC_CAP_4_BIT_DATA;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue