summaryrefslogtreecommitdiff
path: root/net/tftp.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-07-19 11:36:58 +0200
committerWolfgang Denk <wd@denx.de>2010-07-24 20:53:50 +0200
commit2aa98c6612fc34145d1f692cf610690955362bd0 (patch)
tree3e7ba780f2b5b32ef90867d5f0dea7b946768bc8 /net/tftp.h
parent66c2d73cfc901aa35e0331b2fd710b250151f966 (diff)
downloadu-boot-imx-2aa98c6612fc34145d1f692cf610690955362bd0.zip
u-boot-imx-2aa98c6612fc34145d1f692cf610690955362bd0.tar.gz
u-boot-imx-2aa98c6612fc34145d1f692cf610690955362bd0.tar.bz2
FAT32: fix broken root directory handling.
On FAT32, instead of fetching the cluster numbers from the FAT, the code assumed (incorrectly) that the clusters for the root directory were allocated contiguously. In the result, only the first cluster could be accessed. At the typical cluster size of 8 sectors this caused all accesses to files after the first 128 entries to fail - "fatls" would terminate after 128 files (usually displaying a bogus file name, occasionally even crashing the system), and "fatload" would fail to find any files that were not in the first directory cluster. Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'net/tftp.h')
0 files changed, 0 insertions, 0 deletions