<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2657.73">
<TITLE>[PATCH] bug fixes for fat.h</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>This patch fixed two bugs found in fat.h. It is a diff with U-Boot-1.0.0 (10/29/2003).</FONT>
</P>

<P><FONT SIZE=2>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.</FONT></P>

<P><FONT SIZE=2>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.</FONT></P>

<P><FONT SIZE=2>Best Regards,</FONT>
<BR><FONT SIZE=2>Jian Zhang</FONT>
</P>

<P><FONT FACE="Arial" SIZE=2 COLOR="#000000"></FONT><FONT FACE="Arial" SIZE=2 COLOR="#000000"></FONT>&nbsp;

</BODY>
</HTML>