1 // SPDX-License-Identifier: GPL-2.0+
3 * (C) Copyright 2014 - 2015 Xilinx, Inc.
5 * (This file derived from arch/arm/mach-zynqmp/cpu.c)
7 * Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved.
10 #include <asm/system.h>
11 #include <asm/armv8/mmu.h>
13 /* size: IO + NR_DRAM_BANKS + terminator */
14 struct mm_region tegra_mem_map[1 + CONFIG_NR_DRAM_BANKS + 1] = {
19 .attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) |
21 PTE_BLOCK_PXN | PTE_BLOCK_UXN
26 .attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) |
34 struct mm_region *mem_map = tegra_mem_map;