powerpc/44x/bamboo: Fix PCI range
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 11 Dec 2018 02:27:33 +0000 (13:27 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 20 Dec 2018 11:21:20 +0000 (22:21 +1100)
commit3cfb9ebe906b51f2942b1e251009bb251efd2ba6
treee038026a51938247ee85990e99ae6de263ee7e99
parent51f4cc2047a4b7e9bf1b49acf06c110991fd4167
powerpc/44x/bamboo: Fix PCI range

The bamboo dts has a bug: it uses a non-naturally aligned range
for PCI memory space. This isnt' supported by the code, thus
causing PCI to break on this system.

This is due to the fact that while the chip memory map has 1G
reserved for PCI memory, it's only 512M aligned. The code doesn't
know how to split that into 2 different PMMs and fails, so limit
the region to 512M.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/boot/dts/bamboo.dts