Re: [U-Boot] [PATCH 1/4 v2] pci: fixed dm_pci_map_bar comment

2019-06-28 Thread Simon Glass
On Wed, 5 Jun 2019 at 04:05, Bin Meng wrote: > > On Tue, Jun 4, 2019 at 8:46 PM Alex Marginean wrote: > > > > 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

Re: [U-Boot] [PATCH 1/4 v2] pci: fixed dm_pci_map_bar comment

2019-06-05 Thread Bin Meng
On Tue, Jun 4, 2019 at 8:46 PM Alex Marginean wrote: > > 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 > ---

[U-Boot] [PATCH 1/4 v2] pci: fixed dm_pci_map_bar comment

2019-06-04 Thread Alex Marginean
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 --- Changes in v2: - new patch include/pci.h | 8 +--- 1