u-boot/drivers/net/octeontx
Andrew Scull 12507a2d22 pci: Map bars with offset and length
Evolve dm_pci_map_bar() to include an offset and length parameter. These
allow a portion of the memory to be mapped and range checks to be
applied.

Passing both the offset and length as zero results in the previous
behaviour and this is used to migrate the previous callers.

Signed-off-by: Andrew Scull <ascull@google.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2022-05-03 15:50:46 -04:00
..
bgx.c pci: Map bars with offset and length 2022-05-03 15:50:46 -04:00
bgx.h net: Add NIC controller driver for OcteonTX 2020-10-14 07:55:56 +02:00
Makefile net: Add NIC controller driver for OcteonTX 2020-10-14 07:55:56 +02:00
nic.h net: Add NIC controller driver for OcteonTX 2020-10-14 07:55:56 +02:00
nic_main.c pci: Map bars with offset and length 2022-05-03 15:50:46 -04:00
nic_reg.h net: Add NIC controller driver for OcteonTX 2020-10-14 07:55:56 +02:00
nicvf_main.c pci: Map bars with offset and length 2022-05-03 15:50:46 -04:00
nicvf_queues.c net: Add NIC controller driver for OcteonTX 2020-10-14 07:55:56 +02:00
nicvf_queues.h net: Add NIC controller driver for OcteonTX 2020-10-14 07:55:56 +02:00
q_struct.h net: Add NIC controller driver for OcteonTX 2020-10-14 07:55:56 +02:00
smi.c pci: Map bars with offset and length 2022-05-03 15:50:46 -04:00
xcv.c net: Add NIC controller driver for OcteonTX 2020-10-14 07:55:56 +02:00