commit | df9e43218c6f66c7118d2b0ecdaffa8bf6045a01 | [log] [tgz] |
---|---|---|
author | Vladimir Zapolskiy <vz@mleia.com> | Mon Nov 28 00:15:20 2016 +0200 |
committer | Tom Rini <trini@konsulko.com> | Fri Dec 02 21:32:43 2016 -0500 |
tree | e27e5717593b0f2beb41910a56a56f2fdf2d0558 | |
parent | 3b15e951aa1641c5299a66532873414776146099 [diff] |
pci: sh7751: map PCI memory space into SDRAM For ease of use and accounting a condition that on SH4 pci_phys_to_bus() and pci_bus_to_phys() are one in one mappings due to unimplemented __iomem() conversion, this change fixes access to SDRAM memory by PCI devices. This change also generalizes PCI system memory configuration, which is taken from board specific defines rather than hardcoded in the PCI host driver. Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>