sh: Fix up large system memory handling for SH7780 PCI.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 1 Feb 2010 02:33:22 +0000 (11:33 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 1 Feb 2010 02:33:22 +0000 (11:33 +0900)
commitaee4467b5ce5047401efb4175b1360ec1734affc
treec7c8a02b0c07c44cdf3b823e7ccd7b2fc2434cc8
parent31a090ae0693af189fc7a8ad16cece4878acad33
sh: Fix up large system memory handling for SH7780 PCI.

For systems that have more than 512MB we need to set up an additional
mapping, this fixes up the rounding to the next power of two and splits
out the mapping accordingly between the two local bus mapping windows.

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