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

Bin Meng bmeng.cn at gmail.com
Fri Apr 22 08:37:35 CEST 2022


On Fri, Apr 22, 2022 at 12:11 AM Andrew Scull <ascull at google.com> 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 Scull <ascull at google.com>
> ---
>  drivers/pci/pci-uclass.c | 10 +++++-----
>  include/pci.h            |  2 +-
>  2 files changed, 6 insertions(+), 6 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list