Re: [U-Boot] [PATCH 7/7] FAT: Make it possible to read from any file position

2012-07-19 Thread Mike Frysinger
On Thursday 19 July 2012 19:17:31 Benoît Thébaudeau wrote: > On Friday 20 July 2012 00:44:52 Mike Frysinger wrote: > > On Thursday 19 July 2012 18:03:06 Benoît Thébaudeau wrote: > > > --- u-boot-66714b1.orig/fs/fat/fat.c > > > +++ u-boot-66714b1/fs/fat/fat.c > > > > > > +__u8 get_contents_vfatname

Re: [U-Boot] [PATCH 7/7] FAT: Make it possible to read from any file position

2012-07-19 Thread Benoît Thébaudeau
On Friday 20 July 2012 00:44:52 Mike Frysinger wrote: > On Thursday 19 July 2012 18:03:06 Benoît Thébaudeau wrote: > > --- u-boot-66714b1.orig/fs/fat/fat.c > > +++ u-boot-66714b1/fs/fat/fat.c > > > > +__u8 get_contents_vfatname_block[MAX_CLUSTSIZE] > > + __aligned(ARCH_DMA_MINALIGN); > > is the

Re: [U-Boot] [PATCH 7/7] FAT: Make it possible to read from any file position

2012-07-19 Thread Mike Frysinger
On Thursday 19 July 2012 18:03:06 Benoît Thébaudeau wrote: > --- u-boot-66714b1.orig/fs/fat/fat.c > +++ u-boot-66714b1/fs/fat/fat.c > > +__u8 get_contents_vfatname_block[MAX_CLUSTSIZE] > + __aligned(ARCH_DMA_MINALIGN); is there any reason for this to be exported ? could you mark it static ?

[U-Boot] [PATCH 7/7] FAT: Make it possible to read from any file position

2012-07-19 Thread Benoît Thébaudeau
When storage devices contain files larger than the embedded RAM, it is useful to be able to read these files by chunks, e.g. for a software update to the embedded NAND Flash from an external storage device (USB stick, SD card, etc.). Hence, this patch makes it possible by adding a new FAT API to r