Fix checking fat32 cluster size.
authormichael <trimarchi@gandalf.sssup.it>
Sun, 2 Mar 2008 22:33:46 +0000 (23:33 +0100)
committerWolfgang Denk <wd@denx.de>
Sun, 2 Mar 2008 23:40:42 +0000 (00:40 +0100)
commit8ce4e5c2c02cb7e8adddf7b651d3050d81ce4c1d
tree8941f5d852a1e857e4e953a58fd475624a1e401b
parent661bad63a076a96c39c64f136915f146725af92b
Fix checking fat32 cluster size.

This fixes the cluster size tests in the FAT32 file system.
The current implementation of VFAT support doesn't work if the
referred cluster has an offset > 16bit representation, causing
"fatload" and "fatls" commands etc. to fail.

Signed-off-by: michael trimarchi <trimarchi@gandalf.sssup.it>
fs/fat/fat.c
include/fat.h