u-boot-brain/arch/powerpc/cpu/mpc85xx
Becky Bruce 38dba0c2ff mpc85xx boards: initdram() cleanup/bugfix
Correct initdram to use phys_size_t to represent the size of
dram; instead of changing this all over the place, and correcting
all the other random errors I've noticed, create a
common initdram that is used by all non-corenet 85xx parts.  Most
of the initdram() functions were identical, with 2 common differences:

1) DDR tlbs for the fixed_sdram case were set up in initdram() on
some boards, and were part of the tlb_table on others.  I have
changed them all over to the initdram() method - we shouldn't
be accessing dram before this point so they don't need to be
done sooner, and this seems cleaner.

2) Parts that require the DDR11 erratum workaround had different
implementations - I have adopted the version from the Freescale
errata document.  It also looks like some of the versions were
buggy, and, depending on timing, could have resulted in the
DDR controller being disabled.  This seems bad.

The xpedite boards had a common/fsl_8xxx_ddr.c; with this
change only the 517 board uses this so I have moved the ddr code
into that board's directory in xpedite517x.c

Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org>
Tested-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2011-01-14 01:32:19 -06:00
..
cmd_errata.c powerpc/p4080: Add workaround for erratum CPU22 2010-07-26 13:07:57 -05:00
commproc.c POST cleanup. 2010-09-21 21:39:31 +02:00
config.mk POWERPC: enable --gc-sections and -ffunction-sections -fdata-sections 2010-11-27 23:35:08 +01:00
cpu_init_early.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
cpu_init_nand.c 83xx/85xx/86xx: LBC register cleanup 2010-07-16 10:55:09 -05:00
cpu_init.c powerpc/85xx: Replace CONFIG_SYS_HAS_SERDES with a weak function 2011-01-14 01:32:18 -06:00
cpu.c mpc85xx boards: initdram() cleanup/bugfix 2011-01-14 01:32:19 -06: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/8xxx: Enabled address hashing for 85xx 2010-07-26 13:16:09 -05:00
ether_fcc.c net ppc: fix ethernet device names with spaces 2010-08-09 11:52:28 -07:00
fdt.c 85xx: Add support for not releasing secondary cores via 'mp_holdoff' 2010-10-20 02:38:40 -05:00
fixed_ivor.S Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
fsl_corenet_serdes.c powerpc/p4080: Add workaround for errata SERDES8 2010-07-26 13:07:57 -05:00
fsl_corenet_serdes.h powerpc/p4080: Add workaround for errata SERDES8 2010-07-26 13:07:57 -05:00
interrupts.c powerpc/8xxx: share PIC defines among 85xx and 86xx 2010-08-19 02:06:13 -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 is_serdes_configured() support for P1021 SERDES 2011-01-14 01:32:18 -06:00
mp.c 85xx: Add support for not releasing secondary cores via 'mp_holdoff' 2010-10-20 02:38:40 -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
p1021_serdes.c powerpc/85xx: Add is_serdes_configured() support for P1021 SERDES 2011-01-14 01:32:18 -06:00
p1022_serdes.c powerpc/85xx: Rework P1022 SERDES is_serdes_configured support 2010-07-21 00:40:20 -05:00
p2020_serdes.c powerpc/85xx: Add is_serdes_configured() support for P2020 SERDES 2011-01-14 01:32:18 -06:00
p4080_ids.c powerpc/85xx: fix rev.2 job queue LIODN error storm 2010-10-07 09:49:47 -05:00
p4080_serdes.c powerpc/p4080: Add workaround for errata SERDES8 2010-07-26 13:07:57 -05:00
pci.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
portals.c powerpc/85xx: Add support to initialize LIODN registers and portals 2010-07-26 13:07:56 -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 83xx/85xx/86xx: LBC register cleanup 2010-07-16 10:55:09 -05:00
start.S PowerPC: Don't destroy fixup table while doing fixups 2010-11-14 23:25:33 +01:00
tlb.c mpc85xx/tlb.c: Allow platforms to specify wimge bits 2011-01-14 01:32:19 -06:00
traps.c powerpc/8xxx: share PIC defines among 85xx and 86xx 2010-08-19 02:06:13 -05:00
u-boot-nand_spl.lds powerpc/85xx: Fix lds for nand build 2010-11-11 00:34:59 -06:00
u-boot-nand.lds powerpc/85xx: Fix lds for nand build 2010-11-11 00:34:59 -06:00
u-boot.lds PowerPC: Add relocation support for -fpic 2010-12-17 20:25:10 +01:00