summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAmit Singh Tomar <amittomer25@gmail.com>2020-01-27 01:14:43 +0000
committerMatthias Brugger <mbrugger@suse.com>2020-01-29 18:30:33 +0100
commitfff5d5499d28dda0b22b44bb57c4525ad7d0a89d (patch)
tree71c0980afd79d56d50fb2b40a6d5772f76923fdc /arch
parentd53e3fa3853d5dad9ac4c39128cd08e0ae7a33ef (diff)
rpi4: Update memory map to accommodate scb devices
Some of the devices(for instance, pcie and gnet controller) sitting on SCB bus falls behind/below the memory range that we currenty have. This patch updates the memory range to map those devices correctly. Signed-off-by: Amit Singh Tomar <amittomer25@gmail.com> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Andre Przywara <andre.przywara@arm.com> Tested-by: Corentin Labbe <clabbe@baylibre.com> Signed-off-by: Matthias Brugger <mbrugger@suse.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-bcm283x/init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-bcm283x/init.c b/arch/arm/mach-bcm283x/init.c
index 3b5f45b431..9966d6c833 100644
--- a/arch/arm/mach-bcm283x/init.c
+++ b/arch/arm/mach-bcm283x/init.c
@@ -42,9 +42,9 @@ static struct mm_region bcm2711_mem_map[] = {
.attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) |
PTE_BLOCK_INNER_SHARE
}, {
- .virt = 0xfe000000UL,
- .phys = 0xfe000000UL,
- .size = 0x01800000UL,
+ .virt = 0xfc000000UL,
+ .phys = 0xfc000000UL,
+ .size = 0x03800000UL,
.attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) |
PTE_BLOCK_NON_SHARE |
PTE_BLOCK_PXN | PTE_BLOCK_UXN