PCI: keystone: Explicitly set the PCIe mode
authorKishon Vijay Abraham I <kishon@ti.com>
Mon, 25 Mar 2019 09:39:29 +0000 (15:09 +0530)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Mon, 15 Apr 2019 12:24:01 +0000 (13:24 +0100)
commit156c6fef75a41bc463cc1e3c1b45de140443ae31
tree142e2a7601e918756cabe83c55badf5fd1082c03
parent1c55c4263fe76f1a65b198787495c7f5f9e48002
PCI: keystone: Explicitly set the PCIe mode

Explicitly set the PCIe mode to BOOTCFG_DEVCFG instead of always
relying on the default values. This is required when EP mode has to
be explicitly written to BOOTCFG_DEVCFG register.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
drivers/pci/controller/dwc/pci-keystone.c