Only access the Samsung registers when targeting Samsung hardware.
Sponsored by: ABT Systems Ltd
This commit is contained in:
parent
ed33af42ff
commit
4f768055bd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=287161
@ -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 New Issue
Block a user