uboot/include
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
..
asm-arm Make setenv() return status 2008-07-01 23:03:14 +02:00
asm-avr32 Merge branch 'master' of git://www.denx.de/git/u-boot-avr32 2008-07-07 00:39:43 +02:00
asm-blackfin Change bd/gd memsize/ram_size to be phys_size_t. 2008-06-12 00:54:53 +02:00
asm-i386 Change bd/gd memsize/ram_size to be phys_size_t. 2008-06-12 00:54:53 +02:00
asm-m68k Change bd/gd memsize/ram_size to be phys_size_t. 2008-06-12 00:54:53 +02:00
asm-microblaze Change bd/gd memsize/ram_size to be phys_size_t. 2008-06-12 00:54:53 +02:00
asm-mips Change bd/gd memsize/ram_size to be phys_size_t. 2008-06-12 00:54:53 +02:00
asm-nios Change bd/gd memsize/ram_size to be phys_size_t. 2008-06-12 00:54:53 +02:00
asm-nios2 Change bd/gd memsize/ram_size to be phys_size_t. 2008-06-12 00:54:53 +02:00
asm-ppc ppc4xx: Add Mnemonics for AMCC/IBM DDR2 SDRAM Controller 2008-07-11 13:18:13 +02:00
asm-sh Change bd/gd memsize/ram_size to be phys_size_t. 2008-06-12 00:54:53 +02:00
asm-sparc SPARC: Build error fix 2008-07-10 00:51:16 +02:00
bedbug Big white-space cleanup. 2008-05-21 00:14:08 +02:00
configs ppc4xx: Add Mnemonics for AMCC/IBM DDR2 SDRAM Controller 2008-07-11 13:18:13 +02:00
cramfs Fix endianess problem in cramfs code (cramfs is always host-endian in Linux) 2008-03-03 22:08:08 +01:00
galileo Big white-space cleanup. 2008-05-21 00:14:08 +02:00
jffs2
linux NAND: Rename DEBUG to MTDDEBUG to avoid namespace pollution. 2008-07-09 17:24:47 -05:00
pcmcia
u-boot Add support for calculating hashes with watchdog triggering 2008-04-25 00:01:06 +02:00
.gitignore include/gitignore: update to all architectures 2008-05-09 20:59:21 +02:00
4xx_i2c.h ppc4xx: Add basic support for AMCC 460EX/460GT (3/5) 2008-03-15 07:28:04 +01:00
74xx_7xx.h [ppc] Fix build breakage for all non-4xx PowerPC variants. 2007-06-22 14:58:04 +02:00
405_dimm.h
405_mal.h ppc4xx: Add basic support for AMCC 460EX/460GT (3/5) 2008-03-15 07:28:04 +01:00
ACEX1K.h Add size #defines for Altera Cyclone-II EP2C8 and EP2C20. 2008-06-03 21:40:09 +02:00
MCD_dma.h ColdFire: Add MCF547x_8x dma code and header files 2008-01-17 14:59:42 -06:00
MCD_progCheck.h ColdFire: Add MCF547x_8x dma code and header files 2008-01-17 14:59:42 -06:00
MCD_tasksInit.h ColdFire: Add MCF547x_8x dma code and header files 2008-01-17 14:59:42 -06:00
SA-1100.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
_exports.h [ARM] TI DaVinci support, hopefully final 2007-08-10 20:26:18 +02:00
ahci.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
altera.h Altera Stratix II support 2008-04-13 14:52:48 -07:00
ambapp.h Coding Style cleanup; update CHANGELOG 2008-04-13 09:59:26 -07:00
api_public.h API: Add (c) and licensing notice to the public API header. 2008-02-21 11:56:44 +01:00
arm920t.h
arm925t.h
arm926ejs.h
arm946es.h
armcoremodule.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
at45.h Coding style cleanup. Update CHANGELOG. 2007-08-14 18:42:36 +02:00
at91rm9200_i2c.h
at91rm9200_net.h
ata.h Minor coding style cleanup. 2007-05-15 23:38:05 +02:00
atmel_lcdc.h Add ATMEL LCD driver 2008-05-10 11:44:55 +02:00
bcd.h rtc: Add Xicor/Intersil X1205 RTC support 2007-10-31 21:20:50 +01:00
bcm5221.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
bmp_layout.h
bzlib.h
circbuf.h
clps7111.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
command.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
common.h Fix printf errors. 2008-07-09 23:55:46 +02:00
commproc.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
config_cmd_all.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
config_cmd_default.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
console.h
crc.h
da9030.h
dataflash.h Clean up dataflash partitioning 2008-04-18 00:24:05 -07:00
devices.h
div64.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
dm9161.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
dp83848.h [ARM] TI DaVinci support, hopefully final 2007-08-10 20:26:18 +02:00
dtt.h Add driver for National Semiconductor LM73 temperature sensor 2007-12-27 19:35:35 +01:00
e500.h Reworked FSL Book-E TLB macros to be more readable 2008-01-09 16:25:03 -06:00
elf.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
environment.h Remove code duplication for setting the default environment 2008-07-10 00:28:20 +02:00
exports.h Make setenv() return status 2008-07-01 23:03:14 +02:00
ext2fs.h
fat.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
fdc.h
fdt.h Fix host tool build breakage, take two 2008-03-27 23:49:12 +01:00
fdt_support.h 83xx/fdt_support: let user specifiy FSL USB Dual-Role controller role 2008-03-25 19:19:39 -05:00
fis.h ata: add the fis struct for SATA 2008-03-26 23:38:54 +01:00
flash.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
fpga.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
hush.h
i2c.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
i8042.h
ide.h IDE: - make ide_inb () and ide_outb () "weak", so boards can 2007-08-28 17:39:14 +02:00
image.h Change lmb to use phys_size_t/phys_addr_t 2008-06-12 00:56:39 +02:00
ioports.h Stop using immap_t for cpm offset on 85xx 2007-12-11 22:34:19 -06:00
keyboard.h
kgdb.h
lcd.h Add ATMEL LCD driver 2008-05-10 11:44:55 +02:00
lcdvideo.h
lh7a40x.h
lh7a400.h
lh7a404.h
libata.h ata: update the libata.h from ata.h of linux kernel 2008-04-13 23:20:16 -07:00
libfdt.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
libfdt_env.h fdt: unshadow global working fdt variable 2008-06-10 22:23:17 -04:00
linux_logo.h
lists.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
lmb.h Fix LMB type issues 2008-07-10 00:39:28 +02:00
logbuff.h Avoid initrd and logbuffer area overlaps 2008-06-03 19:34:19 +02:00
lpd7a400_cpld.h
lxt971a.h Remove duplicate definitions in include/lxt971a.h. 2008-07-06 23:44:34 -07:00
lynxkdi.h
malloc.h
mb862xx.h Add Fujitsu CoralP/Lime video driver 2008-01-11 16:05:36 +01:00
mii_phy.h
miiphy.h NET: Add Ethernet 1000BASE-X support for PPC4xx 2007-11-06 10:25:33 -05:00
mk48t59.h include/: Remove obsolete references to CONFIG_COMMANDS 2007-07-09 17:15:49 -05:00
mmc.h MMC: Consolidate MMC/SD command definitions 2008-06-28 22:40:15 +02:00
mpc5xx.h Coding stylke cleanup; rebuild CHANGELOG 2007-06-22 23:59:00 +02:00
mpc5xxx.h [ppc] Fix build breakage for all non-4xx PowerPC variants. 2007-06-22 14:58:04 +02:00
mpc8xx.h Coding stylke cleanup; rebuild CHANGELOG 2007-06-22 23:59:00 +02:00
mpc8xx_irq.h
mpc83xx.h 83xx/85xx/86xx: factor out Freescale Localbus defines out of mpc83xx.h 2008-06-10 18:22:25 -05:00
mpc85xx.h 83xx/85xx: further localbus cleanups 2008-06-10 18:22:25 -05:00
mpc86xx.h 83xx/85xx/86xx: factor out Freescale Localbus defines out of mpc83xx.h 2008-06-10 18:22:25 -05:00
mpc106.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
mpc512x.h MPC5121e ADS PCI support take 3 2008-03-02 21:44:59 +01:00
mpc824x.h Coding stylke cleanup; rebuild CHANGELOG 2007-06-22 23:59:00 +02:00
mpc8220.h [ppc] Fix build breakage for all non-4xx PowerPC variants. 2007-06-22 14:58:04 +02:00
mpc8260.h Coding stylke cleanup; rebuild CHANGELOG 2007-06-22 23:59:00 +02:00
mpc8260_irq.h
nand.h NAND: ifdef-protect most of nand.h when using legacy NAND. 2008-07-09 17:47:52 -05:00
net.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
nios-io.h
nios.h
nios2-epcs.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
nios2-io.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
nios2.h
ns7520_eth.h Remove duplicate definitions in include/lxt971a.h. 2008-07-06 23:44:34 -07:00
ns9750_bbus.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
ns9750_eth.h Remove duplicate definitions in include/lxt971a.h. 2008-07-06 23:44:34 -07:00
ns9750_mem.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
ns9750_ser.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
ns9750_sys.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
ns16550.h
ns87308.h
onenand_uboot.h Make onenand_uboot.h self-sufficient. 2008-05-28 11:06:28 -05:00
part.h Coding style cleanup, update CHANGELOG 2008-03-27 00:03:57 +01:00
pc_keyb.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
pci.h Update pci code to use phys_addr_t 2008-05-10 00:59:57 +02:00
pci_ids.h e1000: add support for 82545GM 64bit PCI-X copper variant 2008-07-10 00:52:48 +02:00
pcmcia.h cpu/ rtc/ include/: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 10:27:39 -05:00
post.h POST: add POST_STOP flag 2008-05-20 23:24:37 +02:00
ppc4xx.h ppc4xx: Add initial 460SX reference board (redwood) config file and defines. 2008-07-11 13:18:12 +02:00
ppc4xx_enet.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
ppc405.h ppc4xx: Add SDR0_SRST Mnemonics for the 405EX(r) 2008-07-11 13:18:13 +02:00
ppc440.h ppc4xx: Add initial 460SX reference board (redwood) config file and defines. 2008-07-11 13:18:12 +02:00
ppc_asm.tmpl e500 needs ppc_asm.tmp MCK_EXCEPTION 2007-08-14 01:21:22 -05:00
ppc_defs.h
ps2mult.h
radeon.h Extend ATI Radeon driver to support more video modes 2008-02-15 00:54:01 +01:00
reiserfs.h
rtc.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
s3c24x0.h
s3c2400.h
s3c2410.h Fix compiler warning in include/s3c2410.h 2007-08-29 02:05:53 +02:00
s_record.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
sa1100.h
sata.h drivers: code clean up 2008-04-13 14:57:46 -07:00
scsi.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
sed156x.h
sed13806.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
serial.h ARM: s3c24xx: Multiple serial port support 2008-02-04 23:52:49 +01:00
sha1.h Add support for calculating hashes with watchdog triggering 2008-04-25 00:01:06 +02:00
sha256.h include/sha256.h: fix file permissions. 2008-07-06 01:21:46 +02:00
sm501.h
smiLynxEM.h
spartan2.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
spartan3.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
spd.h
spd_sdram.h
spi.h Move conditional compilation of MPC8XXX SPI driver to Makefile 2008-07-01 21:02:11 +02:00
spi_flash.h SPI Flash subsystem 2008-06-03 20:31:34 +02:00
status_led.h Coding Style cleanup. 2007-10-13 21:15:39 +02:00
stratixII.h Altera Stratix II support 2008-04-13 14:52:48 -07:00
sym53c8xx.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
systemace.h
tsi108.h
universe.h
usb.h Fix compilation error in cmd_usb.c 2008-03-27 00:12:56 +01:00
usb_cdc_acm.h
usb_defs.h
usbdcore.h
usbdcore_ep0.h
usbdcore_mpc8xx.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
usbdcore_omap1510.h
usbdescriptors.h
version.h Makefile: fix "error: version_autogenerated.h: No such file or directory" 2008-05-13 23:15:52 +02:00
vfd_logo.h
video.h
video_ad7176.h
video_ad7177.h
video_ad7179.h
video_easylogo.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
video_fb.h
video_font.h
video_logo.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
virtex2.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
vsc7385.h Cleanup coding style, update CHANGELOG 2008-03-26 11:48:46 +01:00
w83c553f.h
watchdog.h
xilinx.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
xyzModem.h
zlib.h