Lines Matching refs:arch
407 gd->arch.tlb_addr = CONFIG_SYS_FSL_OCRAM_BASE; in early_mmu_setup()
409 gd->arch.tlb_addr = CONFIG_SYS_DDR_SDRAM_BASE; in early_mmu_setup()
410 gd->arch.tlb_fillptr = gd->arch.tlb_addr; in early_mmu_setup()
411 gd->arch.tlb_size = EARLY_PGTABLE_SIZE; in early_mmu_setup()
417 set_ttbr_tcr_mair(el, gd->arch.tlb_addr, in early_mmu_setup()
479 u64 tlb_addr_save = gd->arch.tlb_addr; in final_mmu_setup()
529 if (gd->arch.secure_ram & MEM_RESERVE_SECURE_MAINTAINED) { in final_mmu_setup()
537 gd->arch.tlb_addr = gd->arch.secure_ram & ~0xfff; in final_mmu_setup()
538 final_map[index].virt = gd->arch.secure_ram & ~0x3; in final_mmu_setup()
542 gd->arch.secure_ram |= MEM_RESERVE_SECURE_SECURED; in final_mmu_setup()
543 tlb_addr_save = gd->arch.tlb_addr; in final_mmu_setup()
546 tlb_addr_save = gd->arch.tlb_allocated; in final_mmu_setup()
547 gd->arch.tlb_addr = tlb_addr_save; in final_mmu_setup()
553 gd->arch.tlb_fillptr = tlb_addr_save; in final_mmu_setup()
559 gd->arch.tlb_addr = gd->arch.tlb_fillptr; in final_mmu_setup()
560 gd->arch.tlb_emerg = gd->arch.tlb_addr; in final_mmu_setup()
562 gd->arch.tlb_addr = tlb_addr_save; in final_mmu_setup()
569 set_ttbr_tcr_mair(el, gd->arch.tlb_addr, get_tcr(el, NULL, NULL), in final_mmu_setup()
1349 gd->arch.resv_ram = gd->bd->bi_dram[2].start + in tfa_dram_init_banksize()
1357 gd->arch.resv_ram = gd->bd->bi_dram[1].start + in tfa_dram_init_banksize()
1362 gd->arch.resv_ram = gd->bd->bi_dram[0].start + in tfa_dram_init_banksize()
1394 if (gd->arch.secure_ram & MEM_RESERVE_SECURE_MAINTAINED) { in dram_init_banksize()
1423 gd->arch.secure_ram = gd->bd->bi_dram[0].start + in dram_init_banksize()
1425 gd->arch.secure_ram |= MEM_RESERVE_SECURE_MAINTAINED; in dram_init_banksize()
1435 gd->arch.resv_ram = gd->bd->bi_dram[2].start + in dram_init_banksize()
1443 gd->arch.resv_ram = gd->bd->bi_dram[1].start + in dram_init_banksize()
1448 gd->arch.resv_ram = gd->bd->bi_dram[0].start + in dram_init_banksize()
1508 if (gd->arch.resv_ram >= ram_start && in efi_add_known_memory()
1509 gd->arch.resv_ram < ram_start + ram_size) in efi_add_known_memory()
1510 ram_size = gd->arch.resv_ram - ram_start; in efi_add_known_memory()
1530 if (!gd->arch.tlb_addr) in update_early_mmu_table()