The commit 04a9e1180ac76a7bacc15a6fcd95ad839d65bddb
cause the 83xx immap broken, so the DMA and PCI will
be failed.

The patch fix the struct spi8xxx.

Signed-off-by: Dave Liu <[EMAIL PROTECTED]>
---
 include/asm-ppc/immap_83xx.h  |    4 ++--
 include/asm-ppc/mpc8xxx_spi.h |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/asm-ppc/immap_83xx.h b/include/asm-ppc/immap_83xx.h
index c16a098..023d725 100644
--- a/include/asm-ppc/immap_83xx.h
+++ b/include/asm-ppc/immap_83xx.h
@@ -388,14 +388,14 @@ typedef struct lbus83xx {
  * Serial Peripheral Interface
  */
 typedef struct spi83xx {
+       u8 res0[0x20];
        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];
+       u8 res1[0xFC8];
 } spi83xx_t;
 
 /*
diff --git a/include/asm-ppc/mpc8xxx_spi.h b/include/asm-ppc/mpc8xxx_spi.h
index 053d11e..48b15e4 100644
--- a/include/asm-ppc/mpc8xxx_spi.h
+++ b/include/asm-ppc/mpc8xxx_spi.h
@@ -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
-- 
1.5.3.5.643.g40e25




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to