]> git.sur5r.net Git - u-boot/blob - arch/arm/mach-snapdragon/sysmap-apq8016.c
Merge branch 'master' of git://www.denx.de/git/u-boot-imx
[u-boot] / arch / arm / mach-snapdragon / sysmap-apq8016.c
1 /*
2  * Qualcomm APQ8016 memory map
3  *
4  * (C) Copyright 2016 Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
5  *
6  * SPDX-License-Identifier:     GPL-2.0+
7  */
8
9 #include <common.h>
10 #include <asm/armv8/mmu.h>
11
12 static struct mm_region apq8016_mem_map[] = {
13         {
14                 .base = 0x0UL, /* Peripheral block */
15                 .size = 0x8000000UL,
16                 .attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) |
17                          PTE_BLOCK_NON_SHARE |
18                          PTE_BLOCK_PXN | PTE_BLOCK_UXN
19         }, {
20                 .base = 0x80000000UL, /* DDR */
21                 .size = 0x80000000UL,
22                 .attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) |
23                          PTE_BLOCK_INNER_SHARE
24         }, {
25                 /* List terminator */
26                 0,
27         }
28 };
29
30 struct mm_region *mem_map = apq8016_mem_map;