arm: mach-orion5x: use mv_mbus_dram_info() in PCI code
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 6 Mar 2013 16:59:58 +0000 (17:59 +0100)
committerJason Cooper <jason@lakedaemon.net>
Sun, 17 Mar 2013 18:03:48 +0000 (18:03 +0000)
commit3e762c86b337f6990cdbd71890921b4dd9351ed9
treeeab801d04953442c6fdaed5dab398dcbe8d7d495
parent59f16137b2a09b2fba7e4d00088f99ce0ea9a6de
arm: mach-orion5x: use mv_mbus_dram_info() in PCI code

The PCI code was directly accessing the orion_mbus_dram_info structure
to get access to a description of the SDRAM chip selects in order to
configure the PCIe -> SDRAM address decoding windows.

However, with the introduction of the mvebu-mbus driver, we are going
to remove this global structure and instead leave only the exported
mv_mbus_dram_info() function to access this description of the SDRAM
chip selects. Therefore, we simply switch to using this API.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/mach-orion5x/pci.c