mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 07:04:28 +00:00
mmc: fsl_esdhc: Define macro ESDHCCTL_SNOOP for Snoop attribute
Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
This commit is contained in:
parent
06ef911447
commit
44564e79eb
2 changed files with 2 additions and 1 deletions
|
@ -724,7 +724,7 @@ static void esdhc_enable_cache_snooping(struct fsl_esdhc *regs)
|
|||
|
||||
setbits_be32(&sysconf->sdhccr, 0x02000000);
|
||||
#else
|
||||
esdhc_write32(®s->esdhcctl, 0x00000040);
|
||||
esdhc_write32(®s->esdhcctl, ESDHCCTL_SNOOP);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
@ -76,6 +76,7 @@
|
|||
|
||||
/* eSDHC control register */
|
||||
#define ESDHCCTL 0x0002e40c
|
||||
#define ESDHCCTL_SNOOP (0x00000040)
|
||||
#define ESDHCCTL_PCS (0x00080000)
|
||||
#define ESDHCCTL_FAF (0x00040000)
|
||||
|
||||
|
|
Loading…
Reference in a new issue