arm64: mvebu: extend the mmio region
authorGrzegorz Jaszczyk <jaz@semihalf.com>
Fri, 30 Apr 2021 13:29:50 +0000 (15:29 +0200)
committerStefan Roese <sr@denx.de>
Sun, 16 May 2021 04:48:45 +0000 (06:48 +0200)
Some of the setups including cn9130 opens mmio window starting from
0xc0000000, reflect it in the u-boot code.

Signed-off-by: Grzegorz Jaszczyk <jaz@semihalf.com>
Signed-off-by: Kostya Porotchkin <kostap@marvell.com>
Signed-off-by: Stefan Roese <sr@denx.de>
arch/arm/mach-mvebu/armada8k/cpu.c
arch/arm/mach-mvebu/include/mach/fw_info.h

index d76e176..939abce 100644 (file)
@@ -46,8 +46,8 @@ static struct mm_region mvebu_mem_map[] = {
        },
        {
                /* MMIO regions */
-               .phys = SOC_REGS_PHY_BASE,
-               .virt = SOC_REGS_PHY_BASE,
+               .phys = MMIO_REGS_PHY_BASE,
+               .virt = MMIO_REGS_PHY_BASE,
                .size = SZ_1G,
 
                .attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) |
index 6ab972e..1382438 100644 (file)
@@ -13,4 +13,6 @@
 /* Firmware related definition used for SMC calls */
 #define MV_SIP_DRAM_SIZE               0x82000010
 
+#define MMIO_REGS_PHY_BASE             0xc0000000
+
 #endif /* _FW_INFO_H_ */