From: Kumar Gala Date: Fri, 8 May 2009 20:05:23 +0000 (-0500) Subject: powerpc/fsl: Setup PCI inbound window based on actual amount of memory X-Git-Tag: v2.6.31-rc1~331^2~65 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54c181935d2a2d46a1b2f00cbb25acc35e4f5ee2;p=pandora-kernel.git powerpc/fsl: Setup PCI inbound window based on actual amount of memory Previouslly we just always set the inbound window to 2G. This was broken for systems with >2G. If a system has >=4G we will need SWIOTLB support to handle that case. We now allocate PCICSRBAR/PEXCSRBAR right below the lowest PCI outbound address for MMIO or the 4G boundary (if the lowest PCI address is above 4G). Signed-off-by: Kumar Gala --- Reading git-diff-tree failed