commit | d64633453e3b3e580111ecca566d9e2771dad694 | [log] [tgz] |
---|---|---|
author | Minghuan Lian <Minghuan.Lian@freescale.com> | Fri Oct 16 15:19:17 2015 +0800 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Mon Nov 02 15:38:39 2015 -0600 |
tree | 7f9df9361573c8411473d6b59a39fdeb6eedc786 | |
parent | 7af4ce3571931bdc043c4220402262f817b9b968 [diff] |
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>