]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mpc83xx: Correct the struct spi8xxx in mpc8xxx_spi.h
authorDave Liu <r63238@freescale.com>
Fri, 18 Jan 2008 02:07:04 +0000 (10:07 +0800)
committerKim Phillips <kim.phillips@freescale.com>
Fri, 18 Jan 2008 18:39:23 +0000 (12:39 -0600)
The commit 04a9e1180ac76a7bacc15a6fcd95ad839d65bddb
cause the 83xx immap broken, so the DMA and PCI will
be failed.

The patch fix the struct spi8xxx and rm struct spi83xx.

Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
include/asm-ppc/immap_83xx.h
include/asm-ppc/mpc8xxx_spi.h

index c16a0981d60cf1c853f39910d725173b6a00d913..5b215393eef2a6f17ee27a4362f1c8badc8cefcf 100644 (file)
@@ -384,20 +384,6 @@ typedef struct lbus83xx {
        u8 res8[0xF08];
 } lbus83xx_t;
 
-/*
- * Serial Peripheral Interface
- */
-typedef struct spi83xx {
-       u32 mode;               /* mode register */
-       u32 event;              /* event register */
-       u32 mask;               /* mask register */
-       u32 com;                /* command register */
-       u8 res0[0x10];
-       u32 tx;                 /* transmit register */
-       u32 rx;                 /* receive register */
-       u8 res1[0xFD8];
-} spi83xx_t;
-
 /*
  * DMA/Messaging Unit
  */
index 053d11e53b455a69969f205ff1c84de8b10e4438..48b15e4f33b337d17415732f42d88c8febc32986 100644 (file)
@@ -40,7 +40,7 @@ typedef struct spi8xxx {
        u32 com;        /* command register */
        u32 tx;         /* transmit register */
        u32 rx;         /* receive register */
-       u8 res1[0xC8];  /* fill up to 0x100 */
+       u8 res1[0xFC8]; /* fill up to 0x1000 */
 } spi8xxx_t;
 
 #endif