[U-Boot-Users] [PATCH] support for CF/IDE on PCMCIA for PXA25X

Christian Pell chri at ascensit.com
Fri Apr 16 08:56:00 CEST 2004


On Fri, 2004-04-16 at 00:37, Wolfgang Denk wrote:

> 
> > diff -u -b -B -N -r -X dodiff.not u-boot.orig/include/fat.h u-boot/include/fat.h
> > --- u-boot.orig/include/fat.h	2004-02-23 20:31:01.000000000 +0100
> > +++ u-boot/include/fat.h	2004-03-31 15:15:46.000000000 +0200
> > @@ -210,4 +210,11 @@
> >  const char *file_getfsname(int idx);
> >  int fat_register_device(block_dev_desc_t *dev_desc, int part_no);
> >  
> > +#ifdef CONFIG_PXA250
> > +#undef FAT2CPU16
> > +#define FAT2CPU16(x) x
> > +#undef FAT2CPU32
> > +#define FAT2CPU32(x) x
> > +#endif
> > +
> >  #endif /* _FAT_H_ */
> 

Hi, sorry for this I'll look at it ASAP. I realized, like you said, that
there is a deeper problem with endianess when dealing with PXA
endianess. For example I had to do a byte swap when adapting the driver
for a custom board flash. Guess there is some assuption on big-endian
somewhere.

Thanks,
Bye!

-- 
Christian Pellegrin 
<chri at ascensit.com>, <c.pellegrin at eurotech.it>, 
<chri at infis.univ.ts.it>, <c.pellegrin at exadron.com>





More information about the U-Boot mailing list