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>
Wed, 5 Apr 2017 06:04:33 +0000 (14:04 +0800)
commit586f2004644f441820cff256f3db0530fcb6404d
treeb5e694cf26ac9aaf7dfc785f27f2a9448ff0fea7
parent1a360111634e32f8f78a610e758b8324a36522c9
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)
arch/arm/cpu/armv7/mx6/clock.c
arch/arm/cpu/armv7/mx6/soc.c
arch/arm/include/asm/imx-common/sys_proto.h
drivers/pci/pcie_imx.c