From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Pell Date: Fri, 16 Apr 2004 08:56:00 +0200 Subject: [U-Boot-Users] [PATCH] support for CF/IDE on PCMCIA for PXA25X In-Reply-To: <20040415223746.83BCAC109F@atlas.denx.de> References: <20040415223746.83BCAC109F@atlas.denx.de> Message-ID: <1082098560.2166.2.camel@absolute> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 , , ,