mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
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> |
||
|---|---|---|
| .. | ||
| asm-offsets.h | ||
| config.mk | ||
| cpu.c | ||
| cpu_init.c | ||
| diu.c | ||
| i2c.c | ||
| ide.c | ||
| iim.c | ||
| interrupts.c | ||
| iopin.c | ||
| Makefile | ||
| pci.c | ||
| serial.c | ||
| speed.c | ||
| start.S | ||
| traps.c | ||
| u-boot.lds | ||