]> git.baikalelectronics.ru Git - uboot.git/commit
arm: a37xx: pci: Increase PCIe IO size from 64 KiB to 1 MiB
authorPali Rohár <pali@kernel.org>
Thu, 23 Sep 2021 09:07:18 +0000 (11:07 +0200)
committerStefan Roese <sr@denx.de>
Fri, 8 Oct 2021 06:33:52 +0000 (08:33 +0200)
commit9e0f543c6f505785182f152f329ee131d3008cb5
tree881d80aac6af614678894480587285258ae89c44
parent2e9cbd078f8cca48fb8c15c0a7a04423152a9ebf
arm: a37xx: pci: Increase PCIe IO size from 64 KiB to 1 MiB

Commit 1e76a4a4c190 ("arm: a37xx: pci: Increase PCIe MEM size from 16 MiB
to 127 MiB") increased size of PCIe MEM to 127 MiB, which is the maximal
possible size for allocated 128 MiB PCIe window. PCIe IO size in that
commit was unchanged.

Armada 3720 PCIe controller supports 32-bit IO space mapping so it is
possible to assign more than 64 KiB if address space for IO.

Currently controller has assigned 127 MiB + 64 KiB memory and therefore
there is 960 KiB of unused memory. So assign it to IO space by increasing
IO window from 64 KiB to 1 MiB.

Signed-off-by: Pali Rohár <pali@kernel.org>
Fixes: 1e76a4a4c190 ("arm: a37xx: pci: Increase PCIe MEM size from 16 MiB to 127 MiB")
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/dts/armada-37xx.dtsi