Skip to content
Snippets Groups Projects
user avatar
Sergei Shtylyov authored
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: default avatarSergei Shtylyov <sshtylyov@mvista.com>
025421ea
History
Name Last commit Last update
..