diff options
author | Grzegorz Jaszczyk <jaz@semihalf.com> | 2021-04-30 15:29:50 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2021-05-16 06:48:45 +0200 |
commit | 7d8e1651da96771f37bbfff84636ac4e34aecc30 (patch) | |
tree | 15a59114367781809d384e8da209203c5911fb49 /arch/arm | |
parent | 32a1a5b3742f137ed242b4ee0beb1cedb5f83f8f (diff) | |
download | u-boot-7d8e1651da96771f37bbfff84636ac4e34aecc30.tar.gz |
arm64: mvebu: extend the mmio region
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>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-mvebu/armada8k/cpu.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-mvebu/include/mach/fw_info.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-mvebu/armada8k/cpu.c b/arch/arm/mach-mvebu/armada8k/cpu.c index d76e176325..939abce000 100644 --- a/arch/arm/mach-mvebu/armada8k/cpu.c +++ b/arch/arm/mach-mvebu/armada8k/cpu.c @@ -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) | diff --git a/arch/arm/mach-mvebu/include/mach/fw_info.h b/arch/arm/mach-mvebu/include/mach/fw_info.h index 6ab972e36e..1382438e39 100644 --- a/arch/arm/mach-mvebu/include/mach/fw_info.h +++ b/arch/arm/mach-mvebu/include/mach/fw_info.h @@ -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_ */ |