Searched hist:"025421 eab453fd41a3cc14a0fc48115b0dc4c287" (Results 1 – 2 of 2) sorted by relevance
| /rk3399_rockchip-uboot/include/ |
| H A D | fat.h | 025421eab453fd41a3cc14a0fc48115b0dc4c287 Fri Aug 19 09:37:46 UTC 2011 Sergei Shtylyov <sshtylyov@ru.mvista.com> 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>
|
| /rk3399_rockchip-uboot/fs/fat/ |
| H A D | fat.c | 025421eab453fd41a3cc14a0fc48115b0dc4c287 Fri Aug 19 09:37:46 UTC 2011 Sergei Shtylyov <sshtylyov@ru.mvista.com> 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>
|