Skip to contentSkip to conversation

Add CFG_MPC86xx_DDR_ADDR and CFG_MPC86xx_DDR2_ADDR symbols

PATCH New Jon Loeliger 2 participants 3 messages Feb 13, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add CFG_MPC86xx_DDR_ADDR and CFG_MPC86xx_DDR2_ADDR symbols

These replace direct structure references for IMMR sections.

---
 include/asm-ppc/immap_86xx.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
include/asm-ppc/immap_86xx.h +5 -0
index 169725b..a15c6ec 100644
@@ -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__*/
Signature · 1 line
1.5.4.rc5.19.g0509eb
#1 lore raw

PATCH 1/1 Add CFG_MPC86xx_DDR_ADDR and CFG_MPC86xx_DDR2_ADDR symbols

Quoted 1 line · In message <[email protected]> you wrote:

These replace direct structure references for IMMR sections.

Bug fix? Pull request?

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
A woman should have compassion.
	-- Kirk, "Catspaw", stardate 3018.2
#2 lore raw

PATCH 1/1 Add CFG_MPC86xx_DDR_ADDR and CFG_MPC86xx_DDR2_ADDR symbols

Quoted 9 lines · Wolfgang Denk
Quoted 1 line · In message <[email protected]> you wrote:

These replace direct structure references for IMMR sections.

Bug fix? Pull request?

Best regards,

Wolfgang Denk

Posting of patches to the list! :-)

I place it into the mpc86xx repository for
a later pull request.

Thanks,
jdl