pci: fixed dm_pci_map_bar comment
authorAlex Marginean <alexm.osslist@gmail.com>
Fri, 7 Jun 2019 08:24:22 +0000 (11:24 +0300)
committerSimon Glass <sjg@chromium.org>
Wed, 10 Jul 2019 22:52:58 +0000 (16:52 -0600)
commit2204bc1bd3abedc37a72282b4ddcfb3eca8cfccb
treeb5ff9fd7c21bb5c7084d7e57c08608c9dbdd23b8
parentda0fb5fdd430abef136bc5e1636f8d1855cf0008
pci: fixed dm_pci_map_bar comment

The comment now indicates that the input argument bar is a register offset,
not a BAR index.
It also mentions which BARs are supported for type 0/1 and that the
function can return 0 on error.

Signed-off-by: Alex Marginean <alexm.osslist@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
include/pci.h