projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d075eec
)
Add CFG_MPC86xx_DDR_ADDR and CFG_MPC86xx_DDR2_ADDR symbols
author
Jon Loeliger
<jdl@freescale.com>
Tue, 12 Feb 2008 20:53:28 +0000
(14:53 -0600)
committer
Jon Loeliger
<jdl@freescale.com>
Wed, 13 Feb 2008 22:03:49 +0000
(16:03 -0600)
These replace direct structure references for IMMR sections.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
include/asm-ppc/immap_86xx.h
patch
|
blob
|
history
diff --git
a/include/asm-ppc/immap_86xx.h
b/include/asm-ppc/immap_86xx.h
index 169725b9236fc8b180f7a0d293711a9d46890c28..a15c6ec12ab0633f54588f270673571c3ff102e0 100644
(file)
--- 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__*/