[PATCH v2 18/18] virtio: pci: Make use of dm_pci_map_bar()

Bin Meng bmeng.cn at gmail.com
Wed Apr 13 17:14:18 CEST 2022


On Wed, Mar 30, 2022 at 12:59 AM Andrew Scull <ascull at google.com> wrote:
>
> The virtio PCI capabilities describe regions of memory that should be
> mapped. Map those with dm_pci_map_bar() which will ensure they are valid
> PCI regions.
>
> Signed-off-by: Andrew Scull <ascull at google.com>
> ---
>  drivers/virtio/virtio_pci_modern.c | 18 ++++++++----------
>  1 file changed, 8 insertions(+), 10 deletions(-)
>

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


More information about the U-Boot mailing list