]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: layerscape: Factor out SCFG related function
authorMinghuan Lian <Minghuan.Lian@freescale.com>
Fri, 16 Oct 2015 07:19:17 +0000 (15:19 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 2 Nov 2015 21:38:39 +0000 (15:38 -0600)
commitcfeca74faffee25b927c175339bf658f982b9eaa
tree7f9df9361573c8411473d6b59a39fdeb6eedc786
parent5d6a8df11383dacefdaba5f4dff8b0d46b02df97
PCI: layerscape: Factor out SCFG related function

For the LS1021a PCIe controller, some status registers are located in SCFG,
unlike other Layerscape devices.

Move SCFG-related code to ls1021_pcie_host_init() and rename
ls_pcie_link_up() to ls1021_pcie_link_up() because LTSSM status is also in
SCFG.

Signed-off-by: Minghuan Lian <Minghuan.Lian@freescale.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pci-layerscape.c