sh: Ignore 32-bit windows in 29-bit mode for SH7786 PCIe.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 7 Sep 2010 08:03:10 +0000 (17:03 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 7 Sep 2010 08:03:10 +0000 (17:03 +0900)
commitda03a63ac843711887a85e5d90dd69399b1b9164
tree47bf395f811a1fb8cb486f530f2cbac5d6ddf270
parent2c5f674339d5e4c02cca7af13ec02bd9b5a96b60
sh: Ignore 32-bit windows in 29-bit mode for SH7786 PCIe.

Certain memory windows are only available for 32-bit space, so skip over
these in 29-bit mode. This will severely restrict the amount of memory
that can be mapped, but since a boot loader bug makes booting in 29-bit
mode close to impossible anyways, everything is ok.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/drivers/pci/pcie-sh7786.c