]> git.dujemihanovic.xyz Git - u-boot.git/commit
FAT: Fix redundant sector read
authorBenoît Thébaudeau <benoit.thebaudeau@advansee.com>
Fri, 20 Jul 2012 13:20:12 +0000 (15:20 +0200)
committerWolfgang Denk <wd@denx.de>
Sun, 2 Sep 2012 15:16:08 +0000 (17:16 +0200)
commitcd1b042c5c035719018cffb751714d30513af0a6
treeaef17d32566d445ca603ef09715f1744e8fb0f0f
parent88503ad3bb5a21a95fe388a1d45e303c206a4e9d
FAT: Fix redundant sector read

With the previous code, the remaining prefetched sectors were read
again after each sector.  With this patch, each sector is read only
once, thus making the prefetch useful.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Cc: Wolfgang Denk <wd@denx.de>
fs/fat/fat.c