mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-11-28 22:21:49 +01:00
armv8: Make SEC read/write as snoopable for LS1043
For LS1043, SEC read/writes are made snoopable by setting the corresponding bits in SCFG to avoid coherency issues. Signed-off-by: Aneesh Bansal <aneesh.bansal@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
This commit is contained in:
parent
b644d3e932
commit
70f959c3c4
@ -161,11 +161,16 @@ void fsl_lsch3_early_init_f(void)
|
|||||||
void fsl_lsch2_early_init_f(void)
|
void fsl_lsch2_early_init_f(void)
|
||||||
{
|
{
|
||||||
struct ccsr_cci400 *cci = (struct ccsr_cci400 *)CONFIG_SYS_CCI400_ADDR;
|
struct ccsr_cci400 *cci = (struct ccsr_cci400 *)CONFIG_SYS_CCI400_ADDR;
|
||||||
|
struct ccsr_scfg *scfg = (struct ccsr_scfg *)CONFIG_SYS_FSL_SCFG_ADDR;
|
||||||
|
|
||||||
#ifdef CONFIG_FSL_IFC
|
#ifdef CONFIG_FSL_IFC
|
||||||
init_early_memctl_regs(); /* tighten IFC timing */
|
init_early_memctl_regs(); /* tighten IFC timing */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Make SEC reads and writes snoopable */
|
||||||
|
setbits_be32(&scfg->snpcnfgcr, SCFG_SNPCNFGCR_SECRDSNP |
|
||||||
|
SCFG_SNPCNFGCR_SECWRSNP);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Enable snoop requests and DVM message requests for
|
* Enable snoop requests and DVM message requests for
|
||||||
* Slave insterface S4 (A53 core cluster)
|
* Slave insterface S4 (A53 core cluster)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user