mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-27 23:20:26 +09:00
mmc: fsl_esdhc: clean TBCTL[TB_EN] manually during init
Clean TBCTL[TB_EN] manually during init since it is not able to be reset by reset all operation. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
This commit is contained in:
parent
b1a4247b41
commit
1b5f0ba7a5
@ -637,6 +637,9 @@ static int esdhc_init_common(struct fsl_esdhc_priv *priv, struct mmc *mmc)
|
||||
return -ETIMEDOUT;
|
||||
}
|
||||
|
||||
/* Clean TBCTL[TB_EN] which is not able to be reset by reset all */
|
||||
esdhc_clrbits32(®s->tbctl, TBCTL_TB_EN);
|
||||
|
||||
esdhc_enable_cache_snooping(regs);
|
||||
|
||||
esdhc_setbits32(®s->sysctl, SYSCTL_HCKEN | SYSCTL_IPGEN);
|
||||
|
Loading…
Reference in New Issue
Block a user