mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-10 12:39:22 -04:00
mpc83xx: Correct the struct spi8xxx in mpc8xxx_spi.h
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>
This commit is contained in:
parent
2956acd5ef
commit
cfe5ca7797
@ -384,20 +384,6 @@ typedef struct lbus83xx {
|
|||||||
u8 res8[0xF08];
|
u8 res8[0xF08];
|
||||||
} lbus83xx_t;
|
} 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
|
* DMA/Messaging Unit
|
||||||
*/
|
*/
|
||||||
|
@ -40,7 +40,7 @@ typedef struct spi8xxx {
|
|||||||
u32 com; /* command register */
|
u32 com; /* command register */
|
||||||
u32 tx; /* transmit register */
|
u32 tx; /* transmit register */
|
||||||
u32 rx; /* receive register */
|
u32 rx; /* receive register */
|
||||||
u8 res1[0xC8]; /* fill up to 0x100 */
|
u8 res1[0xFC8]; /* fill up to 0x1000 */
|
||||||
} spi8xxx_t;
|
} spi8xxx_t;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user