[U-Boot] [PATCH 1/2] fsl/85xx: add clkdvdr to global utilities structure definition

2010-05-20 Thread Timur Tabi
Add the 'clkdvdr' to the 85xx definition of struct ccsr_gur.

Signed-off-by: Timur Tabi ti...@freescale.com
---
 arch/powerpc/include/asm/immap_85xx.h |9 ++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/arch/powerpc/include/asm/immap_85xx.h 
b/arch/powerpc/include/asm/immap_85xx.h
index e7954e6..5b205d1 100644
--- a/arch/powerpc/include/asm/immap_85xx.h
+++ b/arch/powerpc/include/asm/immap_85xx.h
@@ -1912,7 +1912,8 @@ typedef struct ccsr_gur {
 #define MPC85xx_PMUXCR_SD_DATA 0x8000
 #define MPC85xx_PMUXCR_SDHC_CD 0x4000
 #define MPC85xx_PMUXCR_SDHC_WP 0x2000
-   u8  res6[12];
+   u32 pmuxcr2;/* Alt. function signal multiplex control 2 */
+   u8  res6[8];
u32 devdisr;/* Device disable control */
 #define MPC85xx_DEVDISR_PCI1   0x8000
 #define MPC85xx_DEVDISR_PCI2   0x4000
@@ -1949,10 +1950,12 @@ typedef struct ccsr_gur {
 #if defined(CONFIG_MPC8568)||defined(CONFIG_MPC8569)
u8  res10b[76];
par_io_t qe_par_io[7];
-   u8  res10c[3136];
+   u8  res10c[1600];
 #else
-   u8  res10b[3404];
+   u8  res10b[1868];
 #endif
+   u32 clkdvdr;/* Clock Divide register */
+   u8  res10d[1532];
u32 clkocr; /* Clock out select */
u8  res11[12];
u32 ddrdllcr;   /* DDR DLL control */
-- 
1.6.5

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH 1/2] fsl/85xx: add clkdvdr to global utilities structure definition

2010-05-20 Thread Sergei Shtylyov
Hello.

Timur Tabi wrote:

 Add the 'clkdvdr' to the 85xx definition of struct ccsr_gur.

You're also adding 'pmuxcr2'...

 Signed-off-by: Timur Tabi ti...@freescale.com
 ---
  arch/powerpc/include/asm/immap_85xx.h |9 ++---
  1 files changed, 6 insertions(+), 3 deletions(-)
 
 diff --git a/arch/powerpc/include/asm/immap_85xx.h 
 b/arch/powerpc/include/asm/immap_85xx.h
 index e7954e6..5b205d1 100644
 --- a/arch/powerpc/include/asm/immap_85xx.h
 +++ b/arch/powerpc/include/asm/immap_85xx.h
 @@ -1912,7 +1912,8 @@ typedef struct ccsr_gur {
  #define MPC85xx_PMUXCR_SD_DATA   0x8000
  #define MPC85xx_PMUXCR_SDHC_CD   0x4000
  #define MPC85xx_PMUXCR_SDHC_WP   0x2000
 - u8  res6[12];
 + u32 pmuxcr2;/* Alt. function signal multiplex control 2 */
 + u8  res6[8];
   u32 devdisr;/* Device disable control */

WBR, Sergei
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot