Skip to contentSkip to conversation

Fix for MPC8260 IMMAP structure

PATCH New Ho Lee 2 participants 2 messages May 25, 2004 – Jun 9, 2004

lore
Share & tools
lore

Ho Lee

author
#0 lore raw

PATCH 1/1 Fix for MPC8260 IMMAP structure

Hi,

I found a trivial misalignment in MPC8260 IMMAP structure. It is not harmful in normal environment, but the problem reveals if the structure is packed.

Sincerely,
Ho

--------------------------------------------------

include/asm-ppc/immap_8260.h 2004-05-25 10:54:23.000000000 -0700 renamed from include/asm-ppc/immap_8260.h 2004-04-18 14:45:45.000000000 -0700 +1 -1
diff -urN u-boot-1.1.1.orig/include/asm-ppc/immap_8260.h u-boot-1.1.1/include/asm-ppc/immap_8260.h
@@ -519,7 +519,7 @@
 
  fcc_t  im_fcc[3]; /* Three FCCs */
 
- char  res4[159];
+ char  res4[160];
 
  /* First set of baud rate generators.
  */
#1 lore raw

PATCH 1/1 Fix for MPC8260 IMMAP structure

Quoted 3 lines · In message <[email protected]> you wrote:

I found a trivial misalignment in MPC8260 IMMAP structure. It is not harmful in normal environment, but the problem reveals if the structure is packed.

This patch has been obsoleted by recent extensions to immap_8260.h

Thanks anyway!

Best regards,

Wolfgang Denk

Signature · 3 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
If you fail to plan, plan to fail.