]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/glsdk-u-boot.git/commit
FAT: Make it possible to read from any file position
authorBenoît Thébaudeau <benoit.thebaudeau@advansee.com>
Tue, 18 Sep 2012 08:14:56 +0000 (08:14 +0000)
committerTom Rini <trini@ti.com>
Wed, 26 Sep 2012 18:11:32 +0000 (11:11 -0700)
commit1170e634dd2a6fdd541ae2153fd3fd73919da8fc
treedd1cdb0854199fad95296c84e54eeb319818b71b
parent9aa90c1df09d6c0a43a5e000ba9d66d6f13b29cb
FAT: Make it possible to read from any file position

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 read
files from a given position. This patch also adds this feature to the
fatload command.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Cc: Wolfgang Denk <wd@denx.de>
Signed-off-by: Tom Rini <trini@ti.com>
common/cmd_fat.c
fs/fat/fat.c
fs/fat/fat_write.c
include/fat.h