dm: pci: Convert 'pci' command to driver model
authorSimon Glass <sjg@chromium.org>
Fri, 27 Nov 2015 02:51:29 +0000 (19:51 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 1 Dec 2015 13:26:38 +0000 (06:26 -0700)
commitcab24b3407189a120066b82da2376679bf203eae
tree3553fbc41f1c9dbc24c5a762eb922a32e8b677dd
parentc4f32bb24857b2a3950b4c804c1d6302520c81ae
dm: pci: Convert 'pci' command to driver model

Adjust this command to use the correct PCI functions, instead of the
compatibility layer.

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