Re: [U-Boot] [PATCH 1/2] mpc83xx: Fix ipic structure definition

2011-11-03 Thread Kim Phillips
On Wed, 5 Oct 2011 18:14:14 -0500
Joe Hershberger joe.hershber...@ni.com wrote:

 Signed-off-by: Joe Hershberger joe.hershber...@ni.com
 Cc: Joe Hershberger joe.hershber...@gmail.com
 Cc: Kim Phillips kim.phill...@freescale.com
 ---

applied after adding siprr_{b,c} and sepcr for completeness.

Kim

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


[U-Boot] [PATCH 1/2] mpc83xx: Fix ipic structure definition

2011-10-05 Thread Joe Hershberger
Signed-off-by: Joe Hershberger joe.hershber...@ni.com
Cc: Joe Hershberger joe.hershber...@gmail.com
Cc: Kim Phillips kim.phill...@freescale.com
---
 arch/powerpc/include/asm/immap_83xx.h |6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/powerpc/include/asm/immap_83xx.h 
b/arch/powerpc/include/asm/immap_83xx.h
index cc0293a..8e2a551 100644
--- a/arch/powerpc/include/asm/immap_83xx.h
+++ b/arch/powerpc/include/asm/immap_83xx.h
@@ -154,7 +154,7 @@ typedef struct ipic83xx {
u32 siprr_d;/* System Internal Interrupt Group D Priority 
Register */
u32 simsr_h;/* System Internal Interrupt Mask Register - 
High */
u32 simsr_l;/* System Internal Interrupt Mask Register - 
Low */
-   u8 res1[4];
+   u32 sicnr;  /* System Internal Interrupt Control Register */
u32 sepnr;  /* System External Interrupt Pending Register */
u32 smprr_a;/* System Mixed Interrupt Group A Priority 
Register */
u32 smprr_b;/* System Mixed Interrupt Group B Priority 
Register */
@@ -163,14 +163,14 @@ typedef struct ipic83xx {
u32 sersr;  /* System Error Status Register */
u32 sermr;  /* System Error Mask Register */
u32 sercr;  /* System Error Control Register */
-   u8 res2[4];
+   u8 res1[4];
u32 sifcr_h;/* System Internal Interrupt Force Register - 
High */
u32 sifcr_l;/* System Internal Interrupt Force Register - 
Low */
u32 sefcr;  /* System External Interrupt Force Register */
u32 serfr;  /* System Error Force Register */
u32 scvcr;  /* System Critical Interrupt Vector Register */
u32 smvcr;  /* System Management Interrupt Vector Register 
*/
-   u8 res3[0x98];
+   u8 res2[0x98];
 } ipic83xx_t;
 
 /*
-- 
1.6.0.2

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