u-boot/arch/powerpc/cpu/mpc85xx
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
..
cmd_errata.c powerpc/85xx: Implement work-around for P4080 erratum SERDES-A005 2011-04-28 22:09:23 -05:00
commproc.c POST cleanup. 2010-09-21 21:39:31 +02:00
config.mk PowerPC: Move -fPIC flag to common place 2011-04-11 21:36:41 +02:00
cpu.c powerpc/mpc8xxx: Enable calculation for fixed DDR chips 2011-07-11 13:24:20 -05:00
cpu_init.c powerpc/85xx: Enable Internal USB PHY for p2040, p3041, p5010 and p5020 2011-04-27 22:29:04 -05:00
cpu_init_early.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
cpu_init_nand.c powerpc/85xx: Removed clearing of L2-as-SRAM 2011-04-10 11:24:21 -05:00
ddr-gen1.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
ddr-gen2.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
ddr-gen3.c powerpc/mpc8xxx: fix workaround for errata DDR111 and DDR134 2011-03-24 09:20:50 -05:00
ether_fcc.c net ppc: fix ethernet device names with spaces 2010-08-09 11:52:28 -07:00
fdt.c powerpc/85xx: fix compatible property for the L2 cache node 2011-05-13 00:36:11 -05:00
fixed_ivor.S Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
fsl_corenet_serdes.c powerpc/85xx: remove SERDES4 soft-reset work-around 2011-07-11 13:24:21 -05:00
fsl_corenet_serdes.h powerpc/85xx: fsl_corenet_serdes code rework 2011-04-27 22:29:04 -05:00
interrupts.c mpc8[5/6]xx: Ensure POST word does not get reset 2011-03-13 11:24:44 -05:00
liodn.c powerpc/85xx: Add support to initialize LIODN registers and portals 2010-07-26 13:07:56 -05:00
Makefile powerpc/85xx: Add P2041 processor support 2011-07-11 13:24:19 -05:00
mp.c powerpc/85xx: Fix synchronization of timebase on MP boot 2011-03-15 01:25:51 -05:00
mp.h 85xx: Add support for not releasing secondary cores via 'mp_holdoff' 2010-10-20 02:38:40 -05:00
mpc8536_serdes.c powerpc/85xx: Rework MPC8536 SERDES is_serdes_configured support 2010-07-21 00:40:16 -05:00
mpc8544_serdes.c powerpc/85xx: Add is_serdes_configured() support for MPC8544 SERDES 2011-01-14 01:32:18 -06:00
mpc8548_serdes.c powerpc/85xx: Add is_serdes_configured() support for MPC8548 SERDES 2011-01-14 01:32:18 -06:00
mpc8568_serdes.c powerpc/85xx: Add is_serdes_configured() support for MPC8568 SERDES 2011-01-14 01:32:18 -06:00
mpc8569_serdes.c powerpc/85xx: Add is_serdes_configured() support for MPC8569 SERDES 2011-01-14 01:32:18 -06:00
mpc8572_serdes.c powerpc/85xx: Add is_serdes_configured() support for MPC8572 SERDES 2011-01-14 01:32:18 -06:00
p1010_serdes.c powerpc/85xx: Add SERDES support for P1010/P1014 2011-04-04 09:24:40 -05:00
p1021_serdes.c powerpc/85xx: Handle PCIe initialization requires for P1021 class SoCs 2011-03-29 07:41:37 -05:00
p1022_serdes.c powerpc/85xx: Rework P1022 SERDES is_serdes_configured support 2010-07-21 00:40:20 -05:00
p1023_serdes.c powerpc/85xx: Add support for Freescale P1023/P1017 Processors 2011-04-04 09:24:41 -05:00
p2020_serdes.c powerpc/85xx: Add is_serdes_configured() support for P2020 SERDES 2011-01-14 01:32:18 -06:00
p2040_ids.c powerpc/85xx: Add P2041 processor support 2011-07-11 13:24:19 -05:00
p2040_serdes.c powerpc/p2040: Add various p2040 specific information 2011-07-11 13:24:19 -05:00
p3041_ids.c powerpc/85xx: Fix compile errors if CONFIG_SYS_DPAA_QBMAN isn't set 2011-07-11 13:24:19 -05:00
p3041_serdes.c powerpc/p3041: Add various p3041 specific information 2011-01-19 22:58:23 -06:00
p4080_ids.c powerpc/85xx: Fix compile errors if CONFIG_SYS_DPAA_QBMAN isn't set 2011-07-11 13:24:19 -05:00
p4080_serdes.c powerpc/p4080: Add workaround for errata SERDES8 2010-07-26 13:07:57 -05:00
p5020_ids.c powerpc/85xx: Fix compile errors if CONFIG_SYS_DPAA_QBMAN isn't set 2011-07-11 13:24:19 -05:00
p5020_serdes.c powerpc/p5020: Add various p5020 specific information 2011-01-19 22:58:23 -06:00
pci.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
portals.c powerpc/85xx: Add device tree fixup for bman portal 2011-04-27 22:29:03 -05:00
qe_io.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
release.S Replace CONFIG_SYS_GBL_DATA_SIZE by auto-generated value 2010-10-26 21:05:30 +02:00
resetvec.S Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
serial_scc.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
speed.c Minor coding style cleanup. 2011-05-19 22:22:44 +02:00
start.S Revert "PowerPC: Add support for -msingle-pic-base" 2011-04-20 22:11:21 +02:00
tlb.c powerpc/85xx: Don't build read_tlbcam_entry for CONFIG_NAND_SPL 2011-04-04 09:24:41 -05:00
traps.c powerpc/8xxx: share PIC defines among 85xx and 86xx 2010-08-19 02:06:13 -05:00
u-boot-nand.lds rename _end to __bss_end__ 2011-03-27 19:18:37 +02:00
u-boot-nand_spl.lds rename _end to __bss_end__ 2011-03-27 19:18:37 +02:00
u-boot.lds rename _end to __bss_end__ 2011-03-27 19:18:37 +02:00