arm: plat-orion: use mv_mbus_dram_info() in PCIe code
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 6 Mar 2013 16:59:57 +0000 (17:59 +0100)
committerJason Cooper <jason@lakedaemon.net>
Sun, 17 Mar 2013 18:03:44 +0000 (18:03 +0000)
commit59f16137b2a09b2fba7e4d00088f99ce0ea9a6de
treeeba5e1a91fbd602f143c5cf4c6ef678edd2e1936
parentefaaa98d306d5bc52d4856c3758d44585d6abcc1
arm: plat-orion: use mv_mbus_dram_info() in PCIe code

The PCIe 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 orion-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/plat-orion/pcie.c