Home
last modified time | relevance | path

Searched hist:"1 d90c3b457a64aa339aa900199e519ff08440778" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/include/
H A Dfat.h1d90c3b457a64aa339aa900199e519ff08440778 Sat May 19 07:20:40 UTC 2012 Aaron Williams <aaron.williams@caviumnetworks.com> fat: fix FAT sector offsets overflow on large FAT partitions

This patch fixes several issues where sector offsets can overflow due
to being limited to 16-bits. The cases where an overflow can happen
when accessing large FAT32 partitions are:

- length of FAT in sectors
- start sector of root directory
- the sector of the first cluster

These issues were observed when reading files from a 64GB FAT32
filesystem.

Signed-off-by: Aaron Williams <aaron.williams@caviumnetworks.com>
Tested-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Anatolij Gustschin <agust@denx.de>