[U-Boot-Users] [PATCH] bug fixes for fat.h

Wolfgang Denk wd at denx.de
Tue Feb 10 00:32:05 CET 2004


In message <F886CE4F008AD711819B00508BE3802E0616307B at dlee15.itg.ti.com> you wrote:
>
> This patch fixed two bugs found in fat.h. It is a diff with U-Boot-1.0.0
> (10/29/2003).
> 
> 1. The number of FAT12 entries in FAT12 buffer was calculated incorrectly.
> As a result, you are not able to read any big file using more 2048 FAT12
> entries.
> 
> 2. data_begin in fsdata struct can be negative depending on the FAT system
> layout. If it happens, wrong sectors are requested by fat code.

Thanks, added.

Best regards,

Wolfgang Denk

-- 
See us @ Embedded World, Nuremberg, Feb 17 - 19,  Hall 12.0 Booth 440
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
While most peoples' opinions change, the conviction of their correct-
ness never does.




More information about the U-Boot mailing list