diff options
author | Wolfgang Denk <wd@denx.de> | 2009-05-16 10:47:42 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-06-12 20:47:16 +0200 |
commit | 19dc7e179268be148e550c36203208c662610d76 (patch) | |
tree | a775c082869c167b0c6ac0380db219ccd4666c6b /cpu | |
parent | 72601d04fdfdd4c7597afcf1f6aab654bd99366c (diff) | |
download | u-boot-19dc7e179268be148e550c36203208c662610d76.tar.gz u-boot-19dc7e179268be148e550c36203208c662610d76.tar.xz u-boot-19dc7e179268be148e550c36203208c662610d76.zip |
MPC512x: add more hardware description to immap_512x.h
- add GPIO module description
- add Address Latch Timing Register description
- add IO Control Memory Map
- add FEC Memory Map
Also change board/freescale/mpc5121ads/mpc5121ads.c and
cpu/mpc512x/iopin.c as needed.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: John Rigby <jcrigby@gmail.com>
Diffstat (limited to 'cpu')
-rw-r--r-- | cpu/mpc512x/iopin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpu/mpc512x/iopin.c b/cpu/mpc512x/iopin.c index 78f4fa1e8c..befa586a3f 100644 --- a/cpu/mpc512x/iopin.c +++ b/cpu/mpc512x/iopin.c @@ -23,15 +23,15 @@ #include <common.h> #include <linux/types.h> -#include <mpc512x.h> +#include <asm/immap_512x.h> void iopin_initialize(iopin_t *ioregs_init, int len) { short i, j, p; - u_long *reg; + u32 *reg; immap_t *im = (immap_t *)CONFIG_SYS_IMMR; - reg = (u_long *)&(im->io_ctrl.regs[0]); + reg = (u32 *)&(im->io_ctrl); if (sizeof(ioregs_init) == 0) return; |