diff options
author | Richard Zhu <r65037@freescale.com> | 2014-06-24 09:59:47 +0800 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2017-04-05 14:04:33 +0800 |
commit | 7716b8d781869daca631e30e76dcaa302dcb377c (patch) | |
tree | a6f609fc2691e745d43be811f906b53556a499a8 /common/board_f.c | |
parent | 5a445c2e74426932b0c491065cf98c3ed802928a (diff) | |
download | u-boot-imx-7716b8d781869daca631e30e76dcaa302dcb377c.zip u-boot-imx-7716b8d781869daca631e30e76dcaa302dcb377c.tar.gz u-boot-imx-7716b8d781869daca631e30e76dcaa302dcb377c.tar.bz2 |
ENGR00319415 pcie: random link down issue after warm-rst
There are about 0.02% percentage on some imx6q/dl/solo
hw boards, random pcie link down when warm-reset is used.
Make sure to clear the ref_ssp_en bit16 of gpr1 before
warm-rst, and set ref_ssp_en after the pcie clks are
stable to workaround it.
rootcause:
* gpr regisers wouldn't be reset by warm-rst, while the
ref_ssp_en is required to be reset by pcie.
(work-around in u-boot)
* ref_ssp_en should be set after pcie clks are stable.
(work-around in kernel)
Signed-off-by: Richard Zhu <r65037@freescale.com>
(cherry picked from commit 5cc825b12c6b86a22f1a6a0535b52cf3ee142e77)
Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
(cherry picked from commit 6193cf4e3384a59e29546d13a67657f7faeafc9e)
(cherry picked from commit 7b4aabeddffabca46d7d6e7ef2611de468a6b4f7)
Diffstat (limited to 'common/board_f.c')
0 files changed, 0 insertions, 0 deletions