u-boot-brain/cpu/ppc4xx
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_enet.c ppc4xx: Fix printf format warnings now visible with the updated format check 2008-07-10 09:58:06 +02:00
4xx_pci.c Big white-space cleanup. 2008-05-21 00:14:08 +02:00
4xx_pcie.c ppc4xx: Fix 460EX/GT PCIe port initialization 2008-07-01 17:03:19 +02:00
4xx_uart.c ppc4xx: Fix misspelled CONFIG_440SPE/440EPX/GRX config options 2008-06-06 16:10:41 +02:00
40x_spd_sdram.c ppc4xx: Consolidate some of the 405 and 440 macros/structs into 4xx 2007-10-31 21:20:50 +01:00
44x_spd_ddr2.c ppc4xx: Add Mnemonics for AMCC/IBM DDR2 SDRAM Controller 2008-07-11 13:18:13 +02:00
44x_spd_ddr.c ppc4xx: Consolidate PPC4xx SDRAM/DDR/DDR2 defines, part1 2008-06-03 20:21:53 +02:00
bedbug_405.c cpu/[7a-ln-z]*: Remove obsolete references to CONFIG_COMMANDS 2007-07-09 18:57:22 -05:00
cache.S ppc4xx: Add dcache_enable() for 440 2008-04-22 12:26:33 +02:00
commproc.c PPC4xx: Simplified post_word_{load, store} 2008-06-03 20:20:01 +02:00
config.mk cpu/ppc4xx/config.mk: Make a needlessly deffered expansion immediate. 2008-02-23 09:44:54 +01:00
cpu_init.c ppc4xx: Fix 460EX errata with CPU lockup upon high AHB traffic 2008-06-30 15:20:41 +02:00
cpu.c ppc4xx: Add initial 460SX defines for the cpu/ppc4xx directory. 2008-07-11 13:18:12 +02:00
dcr.S cpu/ rtc/ include/: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 10:27:39 -05:00
denali_data_eye.c ppc4xx: Remove weak binding from common Denali data-eye search code 2008-01-05 10:14:56 +01:00
denali_spd_ddr2.c ppc4xx: Fix printf format warnings now visible with the updated format check 2008-07-10 09:58:06 +02:00
ecc.c ppc4xx: Use new 4xx SDRAM controller enable defines in common ECC code 2008-06-03 20:22:13 +02:00
ecc.h ppc4xx: Fix common ECC generation code for 440GP style platforms 2008-06-03 20:22:08 +02:00
fdt.c ppc4xx: Add weak default ft_board_setup() routine 2008-05-08 11:01:09 +02:00
gpio.c ppc4xx: Fix problem in gpio_config() 2008-06-23 11:15:09 +02:00
i2c.c Big white-space cleanup. 2008-05-21 00:14:08 +02:00
interrupts.c ppc4xx: Mask 'vec' with 0x1f in uic_interrupt() for bit set/clear 2008-03-27 09:54:03 +01:00
iop480_uart.c ppc4xx: Move cpu/ppc4xx/vecnum.h into include path 2008-01-09 06:32:58 +01:00
kgdb.S Big white-space cleanup. 2008-05-21 00:14:08 +02:00
Makefile ppc4xx: Enable Primordial Stack for 40x and Unify ECC Handling 2008-06-03 20:20:50 +02:00
miiphy.c ppc4xx: miiphy.c reworked 2008-03-15 07:28:03 +01:00
ndfc.c ppc4xx: Add basic support for AMCC 460EX/460GT (2/5) 2008-03-15 07:28:04 +01:00
resetvec.S * Code cleanup: 2003-06-27 21:31:46 +00:00
sdram.c Change initdram() return type to phys_size_t 2008-06-12 08:50:18 +02:00
sdram.h ppc4xx: Add initial Zeus (PPC405EP) board support 2007-08-14 14:44:41 +02:00
speed.c ppc4xx: Add initial 460SX defines for the cpu/ppc4xx directory. 2008-07-11 13:18:12 +02:00
start.S ppc4xx: Add initial 460SX defines for the cpu/ppc4xx directory. 2008-07-11 13:18:12 +02:00
tlb.c ppc4xx: Fix printf format warnings now visible with the updated format check 2008-07-10 09:58:06 +02:00
traps.c ppc4xx: Fix printf format warnings now visible with the updated format check 2008-07-10 09:58:06 +02:00
usb_ohci.c Big white-space cleanup. 2008-05-21 00:14:08 +02:00
usb_ohci.h Add support for AMCC PPC440EP/GR eval boards Yosemite and Yellowstone. 2005-08-01 16:41:48 +02:00
usb.c ppc4xx: Make USB working with CONFIG_4xx_DCACHE defined 2007-11-09 16:42:15 +01:00
usbdev.c ppc4xx: Move cpu/ppc4xx/vecnum.h into include path 2008-01-09 06:32:58 +01:00
usbdev.h Add support for AMCC PPC440EP/GR eval boards Yosemite and Yellowstone. 2005-08-01 16:41:48 +02:00