1
0
Fork 0
remarkable-uboot/fs/fat
Sergei Shtylyov 025421eab4 fat: replace LINEAR_PREFETCH_SIZE with PREFETCH_BLOCKS
Currently in do_fat_read() when reading FAT sectors, we have to divide down
LINEAR_PREFETCH_SIZE by the sector size, whereas it's defined as 2 sectors
worth of bytes. In order to avoid redundant multiplication/division, introduce
#define PREFETCH_BLOCKS instead of #define LINEAR_PREFETCH_SIZE.

Signed-off-by: Sergei Shtylyov <sshtylyov@mvista.com>
2011-10-01 21:52:19 +02:00
..
Makefile scaled down version of generic libraries for SPL 2011-07-26 14:44:25 +02:00
fat.c fat: replace LINEAR_PREFETCH_SIZE with PREFETCH_BLOCKS 2011-10-01 21:52:19 +02:00
file.c fs/fat: Big code cleanup. 2010-07-24 20:54:46 +02:00