Re: [U-Boot] [PATCH 4/4 v2] drivers: pci: add API to issue FLR on a PCI function if supported

2019-06-05 Thread Bin Meng
On Tue, Jun 4, 2019 at 8:46 PM Alex Marginean wrote: > > Adds dm_pci_flr API that issues a Function Level reset on a PCI-e function, > if FLR is supported. > > Signed-off-by: Alex Marginean > --- > > Changes in v2: > - Use kernel PCI_EXP macros for register offsets > > drivers/pci/pci-uc

[U-Boot] [PATCH 4/4 v2] drivers: pci: add API to issue FLR on a PCI function if supported

2019-06-04 Thread Alex Marginean
Adds dm_pci_flr API that issues a Function Level reset on a PCI-e function, if FLR is supported. Signed-off-by: Alex Marginean --- Changes in v2: - Use kernel PCI_EXP macros for register offsets drivers/pci/pci-uclass.c | 24 include/pci.h| 14 +