public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH] Fix for MPC8260 IMMAP structure
@ 2004-05-25 18:07 Ho Lee
  2004-06-09 15:11 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Ho Lee @ 2004-05-25 18:07 UTC (permalink / raw)
  To: u-boot

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

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

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
--- u-boot-1.1.1.orig/include/asm-ppc/immap_8260.h 2004-04-18 14:45:45.000000000 -0700
+++ u-boot-1.1.1/include/asm-ppc/immap_8260.h 2004-05-25 10:54:23.000000000 -0700
@@ -519,7 +519,7 @@
 
  fcc_t  im_fcc[3]; /* Three FCCs */
 
- char  res4[159];
+ char  res4[160];
 
  /* First set of baud rate generators.
  */

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-06-09 15:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-25 18:07 [U-Boot-Users] [PATCH] Fix for MPC8260 IMMAP structure Ho Lee
2004-06-09 15:11 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox