u-boot-brain/cpu/mpc512x
Wolfgang Denk 3b74e7ec58 MPC512x: remove include/mpc512x.h
Move needed definitions (register descriptions etc.) from
include/mpc512x.h  into  include/asm-ppc/immap_512x.h.

Instead of using a #define'd register offset, use a function that
provides the PATA controller's base address.

All the rest of include/mpc512x.h are register offset definitions
which can be eliminated by proper use of C structures.

There are only a few register offsets remaining that are needed in
cpu/mpc512x/start.S; for these we provide cpu/mpc512x/asm-offsets.h
which is intended as a temporary workaround only. In a later patch
this file will be removed, too, and then auto-generated from the
respective C structs.

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: John Rigby <jcrigby@gmail.com>
2009-06-12 20:47:16 +02:00
..
asm-offsets.h MPC512x: remove include/mpc512x.h 2009-06-12 20:47:16 +02:00
config.mk mpc512x: Move common files to share them by several boards 2009-06-12 20:47:16 +02:00
cpu_init.c MPC512x: remove include/mpc512x.h 2009-06-12 20:47:16 +02:00
cpu.c MPC512x: remove include/mpc512x.h 2009-06-12 20:47:16 +02:00
diu.c cpu/mpc512x/diu.c: fix warning: assignment from incompatible pointer type 2009-06-12 20:47:16 +02:00
i2c.c MPC512x: remove include/mpc512x.h 2009-06-12 20:47:16 +02:00
ide.c MPC512x: use I/O accessors instead of pointer accesses 2009-06-12 20:47:16 +02:00
iim.c General help message cleanup 2009-06-12 20:47:16 +02:00
interrupts.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
iopin.c MPC512x: use I/O accessors instead of pointer accesses 2009-06-12 20:47:16 +02:00
Makefile mpc512x: Move common files to share them by several boards 2009-06-12 20:47:16 +02:00
pci.c MPC512x: use I/O accessors instead of pointer accesses 2009-06-12 20:47:16 +02:00
serial.c MPC512x: use I/O accessors instead of pointer accesses 2009-06-12 20:47:16 +02:00
speed.c MPC512x: remove include/mpc512x.h 2009-06-12 20:47:16 +02:00
start.S MPC512x: remove include/mpc512x.h 2009-06-12 20:47:16 +02:00
traps.c MPC512x: Change traps.c to not reference non-addressable memory 2008-06-03 19:47:14 +02:00
u-boot.lds mpc512x: Move common files to share them by several boards 2009-06-12 20:47:16 +02:00