summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mvebu/include
diff options
context:
space:
mode:
authorMarek BehĂșn <marek.behun@nic.cz>2020-04-08 19:25:21 +0200
committerStefan Roese <sr@denx.de>2020-04-14 13:16:42 +0200
commitcb2ddb291ee6fcbddd6d8f4ff49089dfe580f5d7 (patch)
treeff24e61adaa0a323b0d76a2930edce07671b1823 /arch/arm/mach-mvebu/include
parent4e9eb04c8d258521f2ec80ad857179f5e362f7fa (diff)
arm64: mvebu: a37xx: add device-tree fixer for PCIe regions
In case when ARM Trusted Firmware changes the default address of PCIe regions (which can be done for devices with 4 GB RAM to maximize the amount of RAM the device can use) we add code that looks at how ATF changed the PCIe windows in the CPU Address Decoder and changes given device-tree blob accordingly. Signed-off-by: Marek BehĂșn <marek.behun@nic.cz> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch/arm/mach-mvebu/include')
-rw-r--r--arch/arm/mach-mvebu/include/mach/cpu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-mvebu/include/mach/cpu.h b/arch/arm/mach-mvebu/include/mach/cpu.h
index 3bb541b6ca..c3f8ad8506 100644
--- a/arch/arm/mach-mvebu/include/mach/cpu.h
+++ b/arch/arm/mach-mvebu/include/mach/cpu.h
@@ -180,6 +180,9 @@ int a8k_dram_init_banksize(void);
int a3700_dram_init(void);
int a3700_dram_init_banksize(void);
+/* A3700 PCIe regions fixer for device tree */
+int a3700_fdt_fix_pcie_regions(void *blob);
+
/*
* get_ref_clk
*