rv1126-uboot/arch/powerpc/include/asm
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
..
4xx_pci.h
4xx_pcie.h ppc4xx: Move ppc4xx headers to powerpc include directory 2010-09-23 09:02:05 +02:00
5xx_immap.h
8xx_immap.h
apm821xx.h APM821xx: Add CPU support 2010-10-04 11:15:02 +02:00
atomic.h
bitops.h
byteorder.h
cache.h
config.h Replace CONFIG_RELOC_FIXUP_WORKS by CONFIG_NEEDS_MANUAL_RELOC 2010-10-29 21:32:07 +02:00
cpm_85xx.h
cpm_8260.h
e300.h
errno.h
fsl_ddr_dimm_params.h powerpc/8xxx: Enable DDR3 RDIMM support 2010-07-26 13:16:10 -05:00
fsl_ddr_sdram.h mpc85xx boards: initdram() cleanup/bugfix 2011-01-14 01:32:19 -06:00
fsl_dma.h
fsl_enet.h powerpc/8xxx: Add fdt_fixup_phy_connection helper 2010-10-20 02:27:18 -05:00
fsl_fman.h powerpc/fsl_fman: Add initial fman immap structures 2010-07-26 08:07:47 -05:00
fsl_i2c.h
fsl_law.h powerpc/85xx: Add additional p4080 platform related defines/structs 2010-07-26 08:07:47 -05:00
fsl_lbc.h mpc85xx boards: initdram() cleanup/bugfix 2011-01-14 01:32:19 -06:00
fsl_liodn.h powerpc/85xx: Rename Security Engine Job Queue to Job Ring to match docs 2010-08-19 02:06:13 -05:00
fsl_mpc83xx_serdes.h
fsl_pci.h powerpc/8xxx: Replace is_fsl_pci_cfg with is_serdes_configured 2011-01-14 01:32:19 -06:00
fsl_portals.h powerpc/85xx: Add support to initialize LIODN registers and portals 2010-07-26 13:07:56 -05:00
fsl_serdes.h powerpc/p4080: Add support for initializing SERDES 2010-07-26 13:07:57 -05:00
global_data.h Replace CONFIG_SYS_GBL_DATA_SIZE by auto-generated value 2010-10-26 21:05:30 +02:00
immap_83xx.h 83xx/85xx/86xx: LBC register cleanup 2010-07-16 10:55:09 -05:00
immap_85xx.h powerpc/p4080: Add new CPC register - HDBCR0 2010-10-07 09:49:47 -05:00
immap_86xx.h powerpc/8xxx: share PIC defines among 85xx and 86xx 2010-08-19 02:06:13 -05:00
immap_512x.h MPC5121: Add USB EHCI support 2010-10-18 22:33:32 +02:00
immap_8220.h
immap_8260.h
immap_qe.h
interrupt.h
io.h
iopin_8xx.h
iopin_85xx.h
iopin_8260.h
m8260_pci.h
mc146818rtc.h
mmu.h mpc85xx: Add print_tlbcam() function 2010-07-16 10:55:09 -05:00
mp.h
mpc8xxx_spi.h
mpc512x.h
mpc8349_pci.h
pci_io.h
pnp.h
posix_types.h
ppc4xx-ebc.h APM821xx: Add CPU support 2010-10-04 11:15:02 +02:00
ppc4xx-emac.h ppc4xx: Big header cleanup, mostly PPC440 related 2010-09-23 09:02:05 +02:00
ppc4xx-gpio.h ppc4xx: Move gpio.h to ppc4xx-gpio.h since its ppc4xx specific 2010-09-23 09:02:05 +02:00
ppc4xx-i2c.h ppc4xx: Move ppc4xx headers to powerpc include directory 2010-09-23 09:02:05 +02:00
ppc4xx-isram.h APM821xx: Add CPU support 2010-10-04 11:15:02 +02:00
ppc4xx-mal.h ppc4xx: Big header cleanup, mostly PPC440 related 2010-09-23 09:02:05 +02:00
ppc4xx-sdram.h APM821xx: Add CPU support 2010-10-04 11:15:02 +02:00
ppc4xx-uic.h APM821xx: Add CPU support 2010-10-04 11:15:02 +02:00
ppc4xx.h ppc4xx: Remove some testing hacks from ppc4xx.h 2010-10-04 11:20:11 +02:00
ppc4xx_config.h
ppc405.h ppc4xx: Big header cleanup part 2, mostly PPC405 related 2010-09-23 09:02:05 +02:00
ppc405cr.h ppc4xx: Use common NS16550 driver for PPC4xx UART 2010-09-23 09:02:05 +02:00
ppc405ep.h ppc4xx: Use common NS16550 driver for PPC4xx UART 2010-09-23 09:02:05 +02:00
ppc405ex.h ppc4xx: Use common NS16550 driver for PPC4xx UART 2010-09-23 09:02:05 +02:00
ppc405ez.h ppc4xx: Use common NS16550 driver for PPC4xx UART 2010-09-23 09:02:05 +02:00
ppc405gp.h ppc4xx: Use common NS16550 driver for PPC4xx UART 2010-09-23 09:02:05 +02:00
ppc440.h ppc4xx: Big header cleanup part 2, mostly PPC405 related 2010-09-23 09:02:05 +02:00
ppc440ep_gr.h ppc4xx: Use common NS16550 driver for PPC4xx UART 2010-09-23 09:02:05 +02:00
ppc440epx_grx.h ppc4xx: Add defines for COM3 & COM4 (UART2 & UART3) on 440EPx/GRx 2010-10-04 11:19:43 +02:00
ppc440gp.h ppc4xx: Use common NS16550 driver for PPC4xx UART 2010-09-23 09:02:05 +02:00
ppc440gx.h ppc4xx: Use common NS16550 driver for PPC4xx UART 2010-09-23 09:02:05 +02:00
ppc440sp.h ppc4xx: Use common NS16550 driver for PPC4xx UART 2010-09-23 09:02:05 +02:00
ppc440spe.h ppc4xx: Use common NS16550 driver for PPC4xx UART 2010-09-23 09:02:05 +02:00
ppc460ex_gt.h ppc4xx: Use common NS16550 driver for PPC4xx UART 2010-09-23 09:02:05 +02:00
ppc460sx.h ppc4xx: Use common NS16550 driver for PPC4xx UART 2010-09-23 09:02:05 +02:00
processor.h powerpc/85xx: Fix wrong SVR value for MPC8567 and MPC8567E processors 2011-01-14 01:32:18 -06:00
ptrace.h
residual.h
sigcontext.h
signal.h
status_led.h
string.h
types.h
u-boot.h powerpc: Cleanup BOOTFLAG_* references 2010-10-18 22:38:56 +02:00
unaligned.h
xilinx_irq.h