Home
last modified time | relevance | path

Searched refs:l2cache (Results 1 – 4 of 4) sorted by relevance

/external/u-boot/arch/powerpc/cpu/mpc85xx/
Dcpu_init.c525 struct ccsr_cluster_l2 __iomem *l2cache; in enable_cluster_l2() local
545 l2cache = (void __iomem *)(CONFIG_SYS_FSL_CLUSTER_1_L2 + i * 0x40000); in enable_cluster_l2()
561 clrsetbits_be32(&l2cache->l2csr1, 0xff, 32 + i * 2 + 1); in enable_cluster_l2()
563 printf("enable l2 for cluster %d %p\n", i, l2cache); in enable_cluster_l2()
565 out_be32(&l2cache->l2csr0, L2CSR0_L2FI|L2CSR0_L2LFC); in enable_cluster_l2()
566 while ((in_be32(&l2cache->l2csr0) in enable_cluster_l2()
569 out_be32(&l2cache->l2csr0, L2CSR0_L2E|L2CSR0_L2PE|L2CSR0_L2REP_MODE); in enable_cluster_l2()
585 ccsr_l2cache_t *l2cache = (void __iomem *)CONFIG_SYS_MPC85xx_L2_ADDR; in l2cache_init() local
587 struct ccsr_cluster_l2 * l2cache = (void __iomem *)CONFIG_SYS_FSL_CLUSTER_1_L2; in l2cache_init() local
600 cache_ctl = l2cache->l2ctl; in l2cache_init()
[all …]
Dspl_minimal.c17 ccsr_l2cache_t *l2cache = (void *)CONFIG_SYS_MPC85xx_L2_ADDR; in cpu_init_f() local
19 out_be32(&l2cache->l2srbar0, CONFIG_SYS_INIT_L2_ADDR); in cpu_init_f()
22 out_be32(&l2cache->l2errdis, in cpu_init_f()
26 out_be32(&l2cache->l2ctl, in cpu_init_f()
Dcpu_init_early.c88 ccsr_l2cache_t *l2cache = (void *)CONFIG_SYS_MPC85xx_L2_ADDR; in cpu_init_early_f() local
142 out_be32(&l2cache->l2srbar0, SRAM_BASE_ADDR); in cpu_init_early_f()
144 out_be32(&l2cache->l2errdis, in cpu_init_early_f()
147 out_be32(&l2cache->l2ctl, in cpu_init_early_f()
167 clrbits_be32(&l2cache->l2ctl, in cpu_init_early_f()
170 out_be32(&l2cache->l2srbar0, 0x0); in cpu_init_early_f()
Dfdt.c221 volatile ccsr_l2cache_t *l2cache = (void *)CONFIG_SYS_MPC85xx_L2_ADDR; in l2cache_size() local
222 volatile u32 l2siz_field = (l2cache->l2ctl >> 28) & 0x3; in l2cache_size()
297 struct ccsr_cluster_l2 *l2cache = in ft_fixup_l2cache() local
299 u32 l2cfg0 = in_be32(&l2cache->l2cfg0); in ft_fixup_l2cache()