mirror of
https://github.com/opnsense/src.git
synced 2026-04-24 07:37:25 -04:00
Only access the Samsung registers when targeting Samsung hardware.
Sponsored by: ABT Systems Ltd
This commit is contained in:
parent
ed33af42ff
commit
4f768055bd
1 changed files with 1 additions and 1 deletions
|
|
@ -582,7 +582,7 @@ dwmmc_attach(device_t dev)
|
|||
if ((sc->hwtype & HWTYPE_MASK) == HWTYPE_ROCKCHIP) {
|
||||
sc->use_pio = 1;
|
||||
sc->pwren_inverted = 1;
|
||||
} else {
|
||||
} else if ((sc->hwtype & HWTYPE_MASK) == HWTYPE_EXYNOS) {
|
||||
WRITE4(sc, EMMCP_MPSBEGIN0, 0);
|
||||
WRITE4(sc, EMMCP_SEND0, 0);
|
||||
WRITE4(sc, EMMCP_CTRL0, (MPSCTRL_SECURE_READ_BIT |
|
||||
|
|
|
|||
Loading…
Reference in a new issue