ENGR00325255 pcie:enable pcie support on imx6sx sd
authorYe Li <ye.li@nxp.com>
Fri, 11 Mar 2016 09:28:00 +0000 (17:28 +0800)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 11:28:24 +0000 (04:28 -0700)
commit3e1a0a7f37d749d5e36e27ad46e8c8db12a865be
treecad9af7992730683f0bfb222c184e6872f74d240
parentd94a5b283afd2786428f514b0db4a6eaa5bcccff
ENGR00325255 pcie:enable pcie support on imx6sx sd

Enable pcie support in uboot on imx6sx sd boards
- enable_pcie_clock should be call before ssp_en is set,
  since that ssp_en control the phy_ref clk gate, turn on
  it after the source of the pcie clks are stable.
- add debug info
- add rx_eq of gpr12 on imx6sx
- there are random link down issue on imx6sx. It's
  pcie ep reset issue.
  solution:reset ep, then retry link can fix it.

(cherry picked from commit ec78595a24b5ff1020baa97b6d6e79a3a3326307)
Signed-off-by: Richard Zhu <r65037@freescale.com>
Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 81fd30250110d72992758f08b66c07306126892b)
(cherry picked from commit 4226ce46f24e176dcfc20aea1af0713b4b425655)
arch/arm/include/asm/mach-imx/sys_proto.h
arch/arm/mach-imx/mx6/clock.c
arch/arm/mach-imx/mx6/soc.c
drivers/pci/pcie_imx.c