1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2019 MediaTek Inc.
4 * Author: Sam Shih <sam.shih@mediatek.com>
9 #include <asm/armv8/mmu.h>
11 int print_cpuinfo(void)
13 printf("CPU: MediaTek MT7622\n");
21 ret = fdtdec_setup_memory_banksize();
24 return fdtdec_setup_mem_size_base();
28 void reset_cpu(ulong addr)
33 static struct mm_region mt7622_mem_map[] = {
39 .attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) | PTE_BLOCK_OUTER_SHARE,
44 .attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) |
46 PTE_BLOCK_PXN | PTE_BLOCK_UXN
51 struct mm_region *mem_map = mt7622_mem_map;