Re: [PATCH v2 08/18] pci: Fix use of flags in dm_pci_map_bar()

2022-04-13 Thread Andrew Scull
> > diff --git a/drivers/pci/pci-uclass.c b/drivers/pci/pci-uclass.c > > index 33dda2..8bbeb62f2e 100644 > > --- a/drivers/pci/pci-uclass.c > > +++ b/drivers/pci/pci-uclass.c > > @@ -1533,8 +1533,8 @@ static phys_addr_t dm_pci_map_ea_virt(struct udevice > > *dev, int ea_off, > > return

Re: [PATCH v2 08/18] pci: Fix use of flags in dm_pci_map_bar()

2022-04-13 Thread Bin Meng
On Wed, Mar 30, 2022 at 12:59 AM Andrew Scull wrote: > > The flags parameter of dm_pci_map_bar() is used for PCI region flags > rather than memory mapping flags. Fix the type to match that of the > region flags and stop using the regions flags as memory mapping flags. > > Signed-off-by: Andrew Scu

[PATCH v2 08/18] pci: Fix use of flags in dm_pci_map_bar()

2022-03-29 Thread Andrew Scull
The flags parameter of dm_pci_map_bar() is used for PCI region flags rather than memory mapping flags. Fix the type to match that of the region flags and stop using the regions flags as memory mapping flags. Signed-off-by: Andrew Scull --- drivers/pci/pci-uclass.c | 10 +- include/pci.h