1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2018 Philippe Reynes <philippe.reynes@softathome.com>
11 #include <asm/armv8/mmu.h>
13 static struct mm_region broadcom_bcm968580xref_mem_map[] = {
19 .attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) |
25 .size = 0xff80000000UL,
26 .attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) |
28 PTE_BLOCK_PXN | PTE_BLOCK_UXN
35 struct mm_region *mem_map = broadcom_bcm968580xref_mem_map;
45 if (fdtdec_setup_mem_size_base() != 0)
46 printf("fdtdec_setup_mem_size_base() has failed\n");
51 int dram_init_banksize(void)
53 fdtdec_setup_memory_banksize();
58 int print_cpuinfo(void)