u-boot/arch/powerpc/cpu
Timur Tabi 26002826c7 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>
2011-07-11 13:24:21 -05:00
..
74xx_7xx Revert "PowerPC: Add support for -msingle-pic-base" 2011-04-20 22:11:21 +02:00
mpc5xx Revert "PowerPC: Add support for -msingle-pic-base" 2011-04-20 22:11:21 +02:00
mpc5xxx Revert "PowerPC: Add support for -msingle-pic-base" 2011-04-20 22:11:21 +02:00
mpc8xx Revert "PowerPC: Add support for -msingle-pic-base" 2011-04-20 22:11:21 +02:00
mpc8xxx powerpc/mpc8xxx: Allow override DDR read-to-write turnaround time 2011-07-11 13:24:20 -05:00
mpc83xx MPC83XX: Fix PCI express clock setup 2011-07-06 19:09:28 -05:00
mpc85xx powerpc/85xx: remove SERDES4 soft-reset work-around 2011-07-11 13:24:21 -05:00
mpc86xx Revert "PowerPC: Add support for -msingle-pic-base" 2011-04-20 22:11:21 +02:00
mpc512x powerpc: use 'video-mode' environment variable to configure DIU 2011-04-28 21:31:16 +02:00
mpc824x Revert "PowerPC: Add support for -msingle-pic-base" 2011-04-20 22:11:21 +02:00
mpc8220 Revert "PowerPC: Add support for -msingle-pic-base" 2011-04-20 22:11:21 +02:00
mpc8260 Revert "PowerPC: Add support for -msingle-pic-base" 2011-04-20 22:11:21 +02:00
ppc4xx PPC405EX CHIP_21 erratum 2011-05-12 16:10:51 +02:00