diff options
author | Wolfgang Denk <wd@denx.de> | 2010-07-19 11:36:58 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-07-24 20:53:50 +0200 |
commit | 2aa98c6612fc34145d1f692cf610690955362bd0 (patch) | |
tree | 3e7ba780f2b5b32ef90867d5f0dea7b946768bc8 /board/esd/canbt/flash.c | |
parent | 66c2d73cfc901aa35e0331b2fd710b250151f966 (diff) |
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 'board/esd/canbt/flash.c')
0 files changed, 0 insertions, 0 deletions