u-boot-brain/include/asm-ppc
Grant Erickson 2e2050842e ppc4xx: Add Mnemonics for AMCC/IBM DDR2 SDRAM Controller
This patch completes the preprocessor mneomics for the IBM DDR2 SDRAM
controller registers (MODT and INITPLR) used by the
PowerPC405EX(r). The MMODE and MEMODE registers are unified with their
peer values used for the INITPLR MR and EMR registers,
respectively. Finally, a spelling typo is correct (MANUEL to MANUAL).

With these mnemonics in place, the CFG_SDRAM0_* magic numbers for
Kilauea are replaced by equivalent mnemonics to make it easier to
compare and contrast other 405EX(r)-based boards (e.g. during board
bring-up).

Finally, unified the SDRAM controller register dump routine such that
it can be used across all processor variants that utilize the IBM DDR2
SDRAM controller core. It produces output of the form:

	PPC4xx IBM DDR2 Register Dump:
		...
	        SDRAM_MB0CF[40] = 0x00006701
		...

which is '<mnemonic>[<DCR #>] = <value>'. The DCR number is included
since it is not uncommon that the DCR values in header files get mixed
up and it helps to validate, at a glance, they match what is printed
in the user manual.

Tested on:
  AMCC Kilauea/Haleakala:
  - NFS Linux Boot: PASSED
  - NAND Linux Boot: PASSED

Signed-off-by: Grant Erickson <gerickson@nuovations.com>
Signed-off-by: Stefan Roese <sr@denx.de>
2008-07-11 13:18:13 +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_i2c.h Make fsl-i2c not conflict with SOFT I2C 2006-11-29 00:25:26 -06:00
fsl_law.h FSL LAW: Add new interface to use the last free LAW 2008-06-11 01:53:09 -05:00
fsl_lbc.h Added the upmconfig() function for 85xx. 2008-06-11 00:29:29 -05:00
fsl_serdes.h 83xx: serdes setup routines 2008-03-25 19:16:45 -05:00
global_data.h Change bd/gd memsize/ram_size to be phys_size_t. 2008-06-12 00:54:53 +02:00
gpio.h ppc4xx: Add AMCC Canyonlands support (460EX) (3/3) 2008-03-15 07:28:05 +01:00
immap_83xx.h mpc83xx: Correct the struct spi8xxx in mpc8xxx_spi.h 2008-01-18 12:39:23 -06: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
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-intvec.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
ppc4xx-sdram.h ppc4xx: Add Mnemonics for AMCC/IBM DDR2 SDRAM Controller 2008-07-11 13:18:13 +02:00
processor.h ppc4xx: Add initial 460SX reference board (redwood) config file and defines. 2008-07-11 13:18:12 +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