powerpc/chassis2: Configure and enable L2 cache for PPC clusters only
Signed-off-by: Poonam Aggrwal <poonam.aggrwal@freescale.com> Signed-off-by: Shaveta Leekha <shaveta@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
This commit is contained in:
parent
e55782eccc
commit
a1399a9187
@ -520,7 +520,8 @@ int enable_cluster_l2(void)
|
||||
u32 idx = (cluster >> (j*8)) & TP_CLUSTER_INIT_MASK;
|
||||
u32 type = in_be32(&gur->tp_ityp[idx]);
|
||||
|
||||
if (type & TP_ITYP_AV)
|
||||
if ((type & TP_ITYP_AV) &&
|
||||
TP_ITYP_TYPE(type) == TP_ITYP_TYPE_PPC)
|
||||
cluster_valid = 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user