summaryrefslogtreecommitdiff
path: root/include/asm-ppc
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2008-10-13 11:17:31 +0200
committerStefan Roese <sr@denx.de>2008-10-13 11:17:31 +0200
commit1f6aa622e365fef9d87de84753eb08347e310a2a (patch)
tree232149e6d93c9387b03628c5d3283cecf7719476 /include/asm-ppc
parent542b385a620a1783454a00424930e51895f45073 (diff)
parentdf4a0796e86662536df2387ddcf969c2a704bcc2 (diff)
downloadu-boot-imx-1f6aa622e365fef9d87de84753eb08347e310a2a.zip
u-boot-imx-1f6aa622e365fef9d87de84753eb08347e310a2a.tar.gz
u-boot-imx-1f6aa622e365fef9d87de84753eb08347e310a2a.tar.bz2
Merge branch 'master' of /home/stefan/git/u-boot/u-boot
Diffstat (limited to 'include/asm-ppc')
-rw-r--r--include/asm-ppc/immap_85xx.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-ppc/immap_85xx.h b/include/asm-ppc/immap_85xx.h
index 559d6ea..50c9dde 100644
--- a/include/asm-ppc/immap_85xx.h
+++ b/include/asm-ppc/immap_85xx.h
@@ -1552,6 +1552,13 @@ typedef struct par_io {
*/
typedef struct ccsr_gur {
uint porpllsr; /* 0xe0000 - POR PLL ratio status register */
+#ifdef CONFIG_MPC8536
+#define MPC85xx_PORPLLSR_DDR_RATIO 0x3e000000
+#define MPC85xx_PORPLLSR_DDR_RATIO_SHIFT 25
+#else
+#define MPC85xx_PORPLLSR_DDR_RATIO 0x00003e00
+#define MPC85xx_PORPLLSR_DDR_RATIO_SHIFT 9
+#endif
uint porbmsr; /* 0xe0004 - POR boot mode status register */
#define MPC85xx_PORBMSR_HA 0x00070000
uint porimpscr; /* 0xe0008 - POR I/O impedance status and control register */