[U-Boot-Users] [PATCH] Fix for MPC8260 IMMAP structure

Ho Lee flyduck at linuxkernel.net
Tue May 25 20:07:44 CEST 2004


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.
  */






More information about the U-Boot mailing list