]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: fsl_esdhc: always check write protect state
authorYangbo Lu <yangbo.lu@nxp.com>
Thu, 31 Oct 2019 10:54:25 +0000 (18:54 +0800)
committerPeng Fan <peng.fan@nxp.com>
Tue, 5 Nov 2019 03:21:25 +0000 (11:21 +0800)
commit0cc127c424ea313b1afc3e53f7c1ba248961728e
tree4d92c1a8e0c2860b133557033e9ced3987f6f841
parent08197cb8dff7cd097ab07a325093043c39d19bbd
mmc: fsl_esdhc: always check write protect state

The QorIQ eSDHC on all platforms supports checking write protect
state through register bit. So check it always.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
drivers/mmc/fsl_esdhc.c
include/fsl_esdhc.h