drivers: pci: add API to issue FLR on a PCI function if supported
authorAlex Marginean <alexm.osslist@gmail.com>
Fri, 7 Jun 2019 08:24:25 +0000 (11:24 +0300)
committerSimon Glass <sjg@chromium.org>
Wed, 10 Jul 2019 22:52:58 +0000 (16:52 -0600)
commitb8e1f8270ca9667e84eaa4049e006c27e37f3cca
treeb6bea726c8ef35ef6624f359fe8f3ce05e16f441
parent21ebbafde8dbbc5903a302ba0c126ff2ac1423c8
drivers: pci: add API to issue FLR on a PCI function if supported

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 <alexm.osslist@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/pci/pci-uclass.c
include/pci.h