
Hello.
On 16-08-2011 14:22, Donggeun Kim wrote:
In some cases, saving data in RAM as a file with FAT format is required. This patch allows the file to be written in FAT formatted partition.
The usage is similar with reading a file. First, fat_register_device function is called before file_fat_write function in order to set target partition. Then, file_fat_write function is invoked with desired file name, start ram address for writing data, and file size.
Signed-off-by: Donggeun Kimdg77.kim@samsung.com Signed-off-by: Kyungmin Parkkyungmin.park@samsung.com
I have recently submitted the patch fixing FAt code crash with sector sizes > 512 bytes [1]. You probably should take it into account.
[1] http://marc.info/?l=u-boot&m=131283284822789
WBR, Sergei