summaryrefslogtreecommitdiff
path: root/include/configs/MPC8536DS.h
diff options
context:
space:
mode:
authorTimur Tabi <timur@freescale.com>2011-04-29 11:37:43 -0500
committerKumar Gala <galak@kernel.crashing.org>2011-07-11 13:24:21 -0500
commit26002826c7b7e30c19cad28f87a0d8b9275414cf (patch)
tree5eb666fe36543a7c047493a492256da99b9bc58f /include/configs/MPC8536DS.h
parent23f9670f1aee936ca468d2d0ddb0f025defde626 (diff)
downloadu-boot-imx-26002826c7b7e30c19cad28f87a0d8b9275414cf.zip
u-boot-imx-26002826c7b7e30c19cad28f87a0d8b9275414cf.tar.gz
u-boot-imx-26002826c7b7e30c19cad28f87a0d8b9275414cf.tar.bz2
powerpc/85xx: remove SERDES4 soft-reset work-around
Some P4080 rev1 errata work-arounds, notably erratum SERDES4, required a bank soft-reset after the bank was configured and enabled, even though enabling a bank causes it to reset. Because the reset was required for multiple errata, it was not properly enclosed in an #ifdef, and so was not removed with all the other rev1 errata work-arounds. Erratum SERDES-8 says that the clocks for bank 3 needs to be enabled if bank 2 is enabled, but this was not being done for SERDES protocols 0xF and 0x10. The bank reset also happened to enable bank 3 (apparently an undocumented feature). Simply removing the reset breaks these two protocols. It turns out that every time we call enable_bank(), we do want at least one lane of the bank enabled, either because the bank is supposed to be enabled, or because we need the clock from that bank enabled. For erratum SERDES-A001, we don't want to modify srds_lpd_b[] when we call enable_bank(), because that array is used elsewhere to determine if the bank is available. Note that the side effect of these changes is that the work-arounds for these two errata are now linked. Specifically, if SERDES-A001 is enabled, then we need SERDES-8 enabled as well. Because this was the only SERDES bank soft-reset, there is no need to implement a work-around for erratum SERDES-A003. Also fix an off-by-one error in a printf(). Signed-off-by: Timur Tabi <timur@freescale.com> Acked-by: Ed Swarthout <swarthou@freescale.com> Acked-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/configs/MPC8536DS.h')
0 files changed, 0 insertions, 0 deletions