]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm64: mvebu: a37xx: add device-tree fixer for PCIe regions
authorMarek Behún <marek.behun@nic.cz>
Wed, 8 Apr 2020 17:25:21 +0000 (19:25 +0200)
committerStefan Roese <sr@denx.de>
Tue, 14 Apr 2020 11:16:42 +0000 (13:16 +0200)
commitcb2ddb291ee6fcbddd6d8f4ff49089dfe580f5d7
treeff24e61adaa0a323b0d76a2930edce07671b1823
parent4e9eb04c8d258521f2ec80ad857179f5e362f7fa
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>
arch/arm/mach-mvebu/armada3700/cpu.c
arch/arm/mach-mvebu/include/mach/cpu.h