]> git.baikalelectronics.ru Git - uboot.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)
commitd81192c77e874023028afae54beb08c5b5706fd5
treeff24e61adaa0a323b0d76a2930edce07671b1823
parent1d28a132b9191adb9cc07757ab1dcd1592fb0776
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