diff options
author | Jon Loeliger <jdl@freescale.com> | 2008-02-12 14:53:28 -0600 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2008-02-13 16:03:49 -0600 |
commit | ccd6e1464e5396bc1a9aebf7077ddf4342eafe03 (patch) | |
tree | b5bf29a7e24f7f1df1a22a672386d76d04b56c23 /include/asm-ppc | |
parent | d075eec500acffed5fa404a45a3e12e158d0cb33 (diff) | |
download | u-boot-imx-ccd6e1464e5396bc1a9aebf7077ddf4342eafe03.zip u-boot-imx-ccd6e1464e5396bc1a9aebf7077ddf4342eafe03.tar.gz u-boot-imx-ccd6e1464e5396bc1a9aebf7077ddf4342eafe03.tar.bz2 |
Add CFG_MPC86xx_DDR_ADDR and CFG_MPC86xx_DDR2_ADDR symbols
These replace direct structure references for IMMR sections.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'include/asm-ppc')
-rw-r--r-- | include/asm-ppc/immap_86xx.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-ppc/immap_86xx.h b/include/asm-ppc/immap_86xx.h index 169725b..a15c6ec 100644 --- a/include/asm-ppc/immap_86xx.h +++ b/include/asm-ppc/immap_86xx.h @@ -1330,4 +1330,9 @@ typedef struct immap { extern immap_t *immr; +#define CFG_MPC86xx_DDR_OFFSET (0x2000) +#define CFG_MPC86xx_DDR_ADDR (CFG_IMMR + CFG_MPC86xx_DDR_OFFSET) +#define CFG_MPC86xx_DDR2_OFFSET (0x6000) +#define CFG_MPC86xx_DDR2_ADDR (CFG_IMMR + CFG_MPC86xx_DDR2_OFFSET) + #endif /*__IMMAP_86xx__*/ |