Message ID | 20200724100856.1482324-5-sr@denx.de |
---|---|
State | Superseded |
Delegated to: | Stefan Roese |
Headers | show |
Series | arm: Introduce Marvell/Cavium OcteonTX/TX2 | expand |
On Fri, 24 Jul 2020 at 04:09, Stefan Roese <sr@denx.de> wrote: > > From: Suneel Garapati <sgarapati@marvell.com> > > Minor spelling correction. Need to update this > > Signed-off-by: Suneel Garapati <sgarapati@marvell.com> > Reviewed-by: Simon Glass <sjg@chromium.org> > Cc: Bin Meng <bmeng.cn@gmail.com> > > Signed-off-by: Stefan Roese <sr@denx.de> > --- > > Changes in v1: > - Change patch subject > > drivers/pci/pci-uclass.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Simon Glass <sjg@chromium.org> > > diff --git a/drivers/pci/pci-uclass.c b/drivers/pci/pci-uclass.c > index 0fbbef70c8..207302cfc4 100644 > --- a/drivers/pci/pci-uclass.c > +++ b/drivers/pci/pci-uclass.c > @@ -1382,7 +1382,7 @@ static void *dm_pci_map_ea_bar(struct udevice *dev, int bar, int flags, > } > > /* size ignored for now */ > - return map_physmem(addr, flags, 0); > + return map_physmem(addr, 0, flags); > } > > return 0; > @@ -1408,7 +1408,7 @@ void *dm_pci_map_bar(struct udevice *dev, int bar, int flags) > > /* > * Pass "0" as the length argument to pci_bus_to_virt. The arg > - * isn't actualy used on any platform because u-boot assumes a static > + * isn't actually used on any platform because u-boot assumes a static U-Boot > * linear mapping. In the future, this could read the BAR size > * and pass that as the size if needed. > */ > -- > 2.27.0 >
diff --git a/drivers/pci/pci-uclass.c b/drivers/pci/pci-uclass.c index 0fbbef70c8..207302cfc4 100644 --- a/drivers/pci/pci-uclass.c +++ b/drivers/pci/pci-uclass.c @@ -1382,7 +1382,7 @@ static void *dm_pci_map_ea_bar(struct udevice *dev, int bar, int flags, } /* size ignored for now */ - return map_physmem(addr, flags, 0); + return map_physmem(addr, 0, flags); } return 0; @@ -1408,7 +1408,7 @@ void *dm_pci_map_bar(struct udevice *dev, int bar, int flags) /* * Pass "0" as the length argument to pci_bus_to_virt. The arg - * isn't actualy used on any platform because u-boot assumes a static + * isn't actually used on any platform because u-boot assumes a static * linear mapping. In the future, this could read the BAR size * and pass that as the size if needed. */