Lines Matching defs:bootpg
187 u32 bootpg;
196 bootpg = ((gd->ram_size > CFG_MAX_MEM_MAPPED) ?
212 * bootpg >> log2(BRSIZE) %3 == 1
214 * bootpg >> log2(BRSIZE) %3 == 0
217 e = find_law(bootpg);
224 bootpg &= 0xffffe000; /* align to 8KB */
225 check = bootpg >> 13;
228 bootpg = check << 13;
229 debug("Boot page (8K) at 0x%08x\n", bootpg);
232 bootpg &= 0xfffff000; /* align to 4KB */
233 check = bootpg >> 12;
236 bootpg = check << 12;
237 debug("Boot page (4K) at 0x%08x\n", bootpg);
246 return bootpg;
255 static void plat_mp_up(unsigned long bootpg, unsigned int pagesize)
274 out_be32(&ccm->bstrl, bootpg);
276 e = find_law(bootpg);
334 static void plat_mp_up(unsigned long bootpg, unsigned int pagesize)
346 out_be32(&ecm->bptr, 0x80000000 | (bootpg >> 12));
414 u32 bootpg = determine_mp_bootpg(NULL);
416 lmb_reserve(lmb, bootpg, 4096);
426 u32 bootpg, bootpg_map, pagesize;
428 bootpg = determine_mp_bootpg(&pagesize);
437 bootpg_map = bootpg;
440 bootpg += 4096; /* use 2nd half */
447 * Store the bootpg's cache-able half address for use by secondary
455 /* flush bootpg it before copying invalidate any staled cacheline */
456 flush_cache(bootpg, 4096);
463 /* map reset page to bootpg so we can copy code there */
466 set_tlb(1, BPTR_VIRT_ADDR, bootpg, /* tlb, epn, rpn */