]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit3810298c245a7dc63e53224047355e93c0cbb9ab
treeb5ff9fd7c21bb5c7084d7e57c08608c9dbdd23b8
parent508dbc4ce363258be9c737163a26187dbb27e9c4
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