dm: pci: Switch to DM API for PCI address mapping
authorSimon Glass <sjg@chromium.org>
Sun, 29 Nov 2015 20:18:05 +0000 (13:18 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 12 Jan 2016 17:19:09 +0000 (10:19 -0700)
commit7e78b9ef2c9f263214adf7e2f7be9912a1af564b
tree8fb74bbd1beed74d6a268e8a277194cf8586b4b1
parent552ddbe3ceaae1346b6f223248141b846afc6c80
dm: pci: Switch to DM API for PCI address mapping

We should use the new address mapping functions unless we are in
compatibility mode. Disable the old functions by default.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/pci/pci_common.c
include/pci.h