aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-k3
diff options
context:
space:
mode:
authorVignesh Raghavendra <vigneshr@ti.com>2020-02-04 11:09:49 +0530
committerLokesh Vutla <lokeshvutla@ti.com>2020-03-03 13:08:13 +0530
commit8915a40da4298ebe69052e3538cd33f917a85351 (patch)
tree4a0a4e19a450d7815d2e80b4e610447093ff822e /arch/arm/mach-k3
parent28ff144662ebda8e601fa87579523e346f7eaf35 (diff)
downloadu-boot-8915a40da4298ebe69052e3538cd33f917a85351.zip
u-boot-8915a40da4298ebe69052e3538cd33f917a85351.tar.gz
u-boot-8915a40da4298ebe69052e3538cd33f917a85351.tar.bz2
ARM: mach-k3: arm64-mmu: map 64bit FSS MMIO space in A53 MMU
Populate address mapping entries in A53 MMU for 4 GB of MMIO space reserved for providing MMIO access to multiple flash devices through OSPI/HBMC IPs within FSS. Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Diffstat (limited to 'arch/arm/mach-k3')
-rw-r--r--arch/arm/mach-k3/arm64-mmu.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-k3/arm64-mmu.c b/arch/arm/mach-k3/arm64-mmu.c
index 7f908ee..b1d1d6e 100644
--- a/arch/arm/mach-k3/arm64-mmu.c
+++ b/arch/arm/mach-k3/arm64-mmu.c
@@ -50,6 +50,13 @@ struct mm_region am654_mem_map[NR_MMU_REGIONS] = {
.attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) |
PTE_BLOCK_INNER_SHARE
}, {
+ .virt = 0x500000000UL,
+ .phys = 0x500000000UL,
+ .size = 0x400000000UL,
+ .attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) |
+ PTE_BLOCK_NON_SHARE |
+ PTE_BLOCK_PXN | PTE_BLOCK_UXN
+ }, {
/* List terminator */
0,
}