summaryrefslogtreecommitdiff
path: root/common/cmd_fat.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-07-19 09:36:58 (GMT)
committerWolfgang Denk <wd@denx.de>2010-07-24 18:53:50 (GMT)
commit2aa98c6612fc34145d1f692cf610690955362bd0 (patch)
tree3e7ba780f2b5b32ef90867d5f0dea7b946768bc8 /common/cmd_fat.c
parent66c2d73cfc901aa35e0331b2fd710b250151f966 (diff)
downloadu-boot-fsl-qoriq-2aa98c6612fc34145d1f692cf610690955362bd0.tar.xz
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 'common/cmd_fat.c')
0 files changed, 0 insertions, 0 deletions