summaryrefslogtreecommitdiff
path: root/include/asm-ppc/immap_85xx.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-10-12 23:12:44 +0200
committerWolfgang Denk <wd@denx.de>2008-10-12 23:12:44 +0200
commit1f7bab0832cfd04fe534eba10e67a8b9def0dc4f (patch)
treeb21eed0da543e1f90dd57be02d86d71847fbcfaa /include/asm-ppc/immap_85xx.h
parent20d635142b0a0bfebe8687ffa22d366fc71ade34 (diff)
parentf3bf9273939ffe1a60a32a2eef909097f15df56b (diff)
downloadu-boot-imx-1f7bab0832cfd04fe534eba10e67a8b9def0dc4f.zip
u-boot-imx-1f7bab0832cfd04fe534eba10e67a8b9def0dc4f.tar.gz
u-boot-imx-1f7bab0832cfd04fe534eba10e67a8b9def0dc4f.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx
Diffstat (limited to 'include/asm-ppc/immap_85xx.h')
-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 */