Re: [U-Boot] [PATCH v2] Fix ext2/ext4 filesystem accesses beyond 2TiB

2013-07-11 Thread Albert ARIBAUD
Hi Tom, On Wed, 26 Jun 2013 18:11:25 +0200, Frédéric Leroy wrote: > With CONFIG_SYS_64BIT_LBA, lbaint_t gets defined as a 64-bit type, > which is required to represent block numbers for storage devices that > exceed 2TiB (the block size usually is 512B), e.g. recent hard drives > > We now use l

[U-Boot] [PATCH v2] Fix ext2/ext4 filesystem accesses beyond 2TiB

2013-06-26 Thread Frédéric Leroy
With CONFIG_SYS_64BIT_LBA, lbaint_t gets defined as a 64-bit type, which is required to represent block numbers for storage devices that exceed 2TiB (the block size usually is 512B), e.g. recent hard drives We now use lbaint_t for partition offset to reflect the lbaint_t change, and access partiti