u-boot/include/asm-ppc
Kumar Gala 58e5e9aff1 FSL DDR: Rewrite the FSL mpc8xxx DDR controller setup code.
The main purpose of this rewrite it to be able to share the same
initialization code on all FSL PowerPC products that have DDR
controllers.  (83xx, 85xx, 86xx).

The code is broken up into the following steps:
	GET_SPD
	COMPUTE_DIMM_PARMS
	COMPUTE_COMMON_PARMS
	GATHER_OPTS
	ASSIGN_ADDRESSES
	COMPUTE_REGS
	PROGRAM_REGS

This allows us to share more code an easily allow for board specific code
overrides.

Additionally this code base adds support for >4G of DDR and provides a
foundation for supporting interleaving on processors with more than one
controller.

Signed-off-by: James Yang <James.Yang@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2008-08-27 02:05:58 +02:00
..
4xx_pci.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
4xx_pcie.h ppc4xx: Fix compile warning of hcu4 board 2008-04-28 12:07:15 +02:00
5xx_immap.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
8xx_immap.h Patch by Yuli Barcohen, 19 Apr 2004: 2004-06-06 21:35:06 +00:00
atomic.h Initial revision 2001-04-28 17:59:11 +00:00
bitops.h PPC: Added fls, fls64, __ilog2_u64, and ffs64 to bitops 2008-07-01 21:47:12 +02:00
byteorder.h Cleanup for GCC-4.x 2005-10-13 16:45:02 +02:00
cache.h 85xx: Remove cache config from configs.h 2008-01-09 16:25:04 -06:00
cpm_85xx.h Fix DPRAM offset/size for MPC8541/8555. 2005-12-06 15:02:31 +01:00
cpm_8260.h * Patches by Pantelis Antoniou, 30 Mar 2004: 2004-04-15 18:22:41 +00:00
e300.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
errno.h Initial revision 2000-08-21 15:05:47 +00:00
fsl_ddr_sdram.h FSL DDR: Rewrite the FSL mpc8xxx DDR controller setup code. 2008-08-27 02:05:58 +02:00
fsl_i2c.h Make fsl-i2c not conflict with SOFT I2C 2006-11-29 00:25:26 -06:00
fsl_law.h FSL DDR: Provide a generic set_ddr_laws() 2008-08-27 02:05:55 +02:00
fsl_lbc.h Fix merge problems 2008-08-06 14:05:38 +02:00
fsl_serdes.h 83xx: serdes setup routines 2008-03-25 19:16:45 -05:00
global_data.h Fix merge problems 2008-08-06 14:05:38 +02:00
gpio.h ppc4xx: Add AMCC Canyonlands support (460EX) (3/3) 2008-03-15 07:28:05 +01:00
immap_83xx.h MPC83XX: Add miscellaneous registers and #defines to support MPC83xx family devices 2008-08-25 17:04:40 -05:00
immap_85xx.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
immap_86xx.h Feed the watchdog in u-boot for 8610 board. 2008-07-07 11:29:48 -05:00
immap_512x.h MPC5121e ADS PCI support take 3 2008-03-02 21:44:59 +01:00
immap_8220.h Patch by TsiChung Liew, 23 Sep 2004: 2004-10-28 00:09:35 +00:00
immap_8260.h Patch by Thomas Viehweger, 14 May 2004: 2004-06-09 12:42:26 +00:00
immap_fsl_pci.h Handle MPC85xx PCIe reset errata (PCI-Ex 38) 2007-12-11 22:34:20 -06:00
immap_qe.h 85xx: add ability to upload QE firmware 2008-01-09 16:28:12 -06:00
interrupt.h ppc4xx: CPU PPC440x5 on Virtex5 FX 2008-07-18 12:30:50 +02:00
io.h PPC: add accessor macros to clear and set bits in one shot 2008-06-10 18:22:26 -05:00
iopin_8xx.h Add iopset command on mpc8xx 2005-09-26 00:44:15 +02:00
iopin_85xx.h Stop using immap_t for cpm offset on 85xx 2007-12-11 22:34:19 -06:00
iopin_8260.h Initial revision 2001-08-05 15:35:05 +00:00
m8260_pci.h * Code cleanup: 2003-06-27 21:31:46 +00:00
mc146818rtc.h Initial revision 2000-11-20 17:21:10 +00:00
mmu.h PPC: Add print_bats() to lib_ppc/bat_rw.c 2008-06-03 18:03:03 +02:00
mpc8xxx_spi.h mpc83xx: Correct the struct spi8xxx in mpc8xxx_spi.h 2008-01-18 12:39:23 -06:00
mpc8349_pci.h Added PCI support for MPC8349ADS board 2006-01-12 19:51:38 -06:00
pci_io.h * Code cleanup: 2003-06-27 21:31:46 +00:00
pnp.h * Code cleanup: 2003-06-27 21:31:46 +00:00
posix_types.h Initial revision 2001-04-28 17:59:11 +00:00
ppc4xx-ebc.h ppc4xx: Consolidate PPC4xx EBC defines 2008-07-11 13:18:13 +02:00
ppc4xx-sdram.h ppc4xx: Optimize PLB4 Arbiter and Memory Queue settings for PPC440SP/SPe, 2008-08-21 10:31:16 +02:00
ppc4xx-uic.h ppc4xx: CPU PPC440x5 on Virtex5 FX 2008-07-18 12:30:50 +02:00
processor.h ppc4xx: CPU PPC440x5 on Virtex5 FX 2008-07-18 12:30:50 +02:00
ptrace.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
residual.h * Code cleanup: 2003-06-27 21:31:46 +00:00
sigcontext.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
signal.h Initial revision 2001-04-28 17:59:11 +00:00
status_led.h * Patches by David Müller, 12 Jun 2003: 2003-06-19 23:01:32 +00:00
string.h Initial revision 2000-08-21 15:05:47 +00:00
types.h Introduce phys_size_t and move phys_addr_t into asm/types.h 2008-04-13 17:13:46 -07:00
u-boot.h Change bd/gd memsize/ram_size to be phys_size_t. 2008-06-12 00:54:53 +02:00
xilinx_irq.h ppc4xx: Minor coding style cleanup of Xilinx Virtex5 ml507 support 2008-07-18 12:31:25 +02:00