]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 d76e17632556a002a9858eac28ed79c21ec33554..939abce000f6ec2ed5c9b8c0ec391ef3cba21d2a 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 6ab972e36e938ccf51357f531624144c1991a7a0..1382438e390e35008fa0a7cab4d06f674afc8c9e 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_ */