rv1126-uboot/arch
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
..
arm miiphy: convert to linux/mii.h 2011-01-09 18:06:50 +01:00
avr32 Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
blackfin Move DECLARE_GLOBAL_DATA_PTR to file scope 2010-12-21 11:33:36 +01:00
i386 Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
m68k Merge branch 'next' of ../next 2010-12-22 21:16:17 +01:00
microblaze microblaze: Fix bd_info pointer 2011-01-10 08:52:32 +01:00
mips Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
nios2 Remove redundant config.mk files 2010-12-09 10:25:56 +01:00
powerpc mpc85xx boards: initdram() cleanup/bugfix 2011-01-14 01:32:19 -06:00
sh sh: Add support zimageboot command for Renesas SH 2011-01-11 21:03:26 +09:00
sparc Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00