PCI: keystone: Cleanup ks_pcie_link_up()
authorKishon Vijay Abraham I <kishon@ti.com>
Wed, 17 Oct 2018 07:41:10 +0000 (13:11 +0530)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Wed, 17 Oct 2018 08:59:00 +0000 (09:59 +0100)
commit23fe5bd4be90099e760fe0d00665ab1e465255b3
treedad2c94df471bd40851fc5351e5b737fc6bb38a0
parentf9127db9fbadd079c6b88974001cb036057c8afc
PCI: keystone: Cleanup ks_pcie_link_up()

ks_pcie_link_up() uses registers from the designware core to get the
status of the link. Move the register defines to pcie-designware.h
and cleanup ks_pcie_link_up().

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
drivers/pci/controller/dwc/pcie-designware.h