diff options
| author | Wilson Ding <[email protected]> | 2018-03-26 15:57:28 +0800 |
|---|---|---|
| committer | Stefan Roese <[email protected]> | 2018-03-30 12:52:49 +0200 |
| commit | 92e7a6814c62c5b1cace880eab0cad9e92fbbff1 (patch) | |
| tree | e4be0af93945ef1b48c54c7b1e25f388c300eb01 | |
| parent | d6aed541b61cb4a0956991e102850810c1f1ef67 (diff) | |
arm64: a37xx: populate pcie memory region
This patch added a new region of 32MiB AT 0xe800.0000
to Armada37x0's memory map. This region is supposed to
be mapped in MMU in order to enable the access to the
PCI I/O or MEM resources.
Signed-off-by: Wilson Ding <[email protected]>
Reviewed-on: http://vgitil04.il.marvell.com:8080/38724
Tested-by: iSoC Platform CI <[email protected]>
Reviewed-by: Victor Gu <[email protected]>
Signed-off-by: Ken Ma <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Stefan Roese <[email protected]>
Signed-off-by: Stefan Roese <[email protected]>
| -rw-r--r-- | arch/arm/mach-mvebu/armada3700/cpu.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-mvebu/armada3700/cpu.c b/arch/arm/mach-mvebu/armada3700/cpu.c index b9214f7bd9e..ab4164cbe00 100644 --- a/arch/arm/mach-mvebu/armada3700/cpu.c +++ b/arch/arm/mach-mvebu/armada3700/cpu.c @@ -46,6 +46,14 @@ static struct mm_region mvebu_mem_map[] = { PTE_BLOCK_NON_SHARE }, { + /* PCI regions */ + .phys = 0xe8000000UL, + .virt = 0xe8000000UL, + .size = 0x02000000UL, /* 32MiB master PCI space */ + .attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) | + PTE_BLOCK_NON_SHARE + }, + { /* List terminator */ 0, } |
