From: Jon Loeliger Date: Tue, 12 Feb 2008 20:53:28 +0000 (-0600) Subject: Add CFG_MPC86xx_DDR_ADDR and CFG_MPC86xx_DDR2_ADDR symbols X-Git-Tag: v1.3.2-rc1~6^2^2~2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ccd6e1464e5396bc1a9aebf7077ddf4342eafe03;p=oweals%2Fu-boot.git Add CFG_MPC86xx_DDR_ADDR and CFG_MPC86xx_DDR2_ADDR symbols These replace direct structure references for IMMR sections. Signed-off-by: Jon Loeliger --- diff --git a/include/asm-ppc/immap_86xx.h b/include/asm-ppc/immap_86xx.h index 169725b923..a15c6ec12a 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__*/