u-boot-brain/board/freescale
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
..
common video: move fsl_diu_fb driver to drivers/video 2010-12-01 20:48:13 +01:00
corenet_ds Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
m547xevb Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
m548xevb Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
m5208evbe Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
m5235evb Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
m5249evb do_reset: unify duplicate prototypes 2010-11-28 21:47:24 +01:00
m5253demo Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
m5253evbe Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
m5271evb Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
m5272c3 Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
m5275evb Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
m5282evb Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
m5329evb Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
m5373evb Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
m52277evb Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
m53017evb Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
m54451evb Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
m54455evb Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mpc832xemds Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mpc837xemds Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mpc837xerdb Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mpc5121ads Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mpc7448hpc2 74xx_7xx: Cleanup for partial linking and --gc-sections 2010-11-27 23:35:12 +01:00
mpc8260ads miiphy: convert to linux/mii.h 2011-01-09 18:06:50 +01:00
mpc8266ads Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mpc8308rdb Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mpc8313erdb Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mpc8315erdb Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mpc8323erdb Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mpc8349emds Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mpc8349itx Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mpc8360emds Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mpc8360erdk Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mpc8536ds mpc85xx boards: initdram() cleanup/bugfix 2011-01-14 01:32:19 -06:00
mpc8540ads mpc85xx boards: initdram() cleanup/bugfix 2011-01-14 01:32:19 -06:00
mpc8541cds mpc85xx boards: initdram() cleanup/bugfix 2011-01-14 01:32:19 -06:00
mpc8544ds mpc85xx boards: initdram() cleanup/bugfix 2011-01-14 01:32:19 -06:00
mpc8548cds mpc85xx boards: initdram() cleanup/bugfix 2011-01-14 01:32:19 -06:00
mpc8555cds mpc85xx boards: initdram() cleanup/bugfix 2011-01-14 01:32:19 -06:00
mpc8560ads mpc85xx boards: initdram() cleanup/bugfix 2011-01-14 01:32:19 -06:00
mpc8568mds mpc85xx boards: initdram() cleanup/bugfix 2011-01-14 01:32:19 -06:00
mpc8569mds mpc85xx boards: initdram() cleanup/bugfix 2011-01-14 01:32:19 -06:00
mpc8572ds mpc85xx boards: initdram() cleanup/bugfix 2011-01-14 01:32:19 -06:00
mpc8610hpcd powerpc/8xxx: Replace is_fsl_pci_cfg with is_serdes_configured 2011-01-14 01:32:19 -06:00
mpc8641hpcn powerpc/8xxx: Replace is_fsl_pci_cfg with is_serdes_configured 2011-01-14 01:32:19 -06:00
mx31ads Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mx31pdk Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mx51evk Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
p1_p2_rdb mpc85xx boards: initdram() cleanup/bugfix 2011-01-14 01:32:19 -06:00
p1022ds mpc85xx boards: initdram() cleanup/bugfix 2011-01-14 01:32:19 -06:00
p2020ds mpc85xx boards: initdram() cleanup/bugfix 2011-01-14 01:32:19 -06:00