Files
u-boot-tk1-som/common
Frederic Leroy 04735e9c55 Fix ext2/ext4 filesystem accesses beyond 2TiB
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 partitions beyond or crossing the 2.1TiB limit.
This required changes to signature of ext4fs_devread(), and type of all
variables relatives to block sector.

ext2/ext4 fs uses logical block represented by a 32 bit value. Logical
block is a multiple of device block sector. To avoid overflow problem
when calling ext4fs_devread(), we need to cast the sector parameter.

Signed-off-by: Frédéric Leroy <fredo@starox.org>
2013-07-15 17:06:13 -04:00
..
2013-04-01 16:33:52 -04:00
2013-06-26 10:16:41 -04:00
2013-06-26 10:16:41 -04:00
2013-05-24 16:54:09 -05:00
2013-04-01 16:33:52 -04:00
2012-11-04 11:00:35 -07:00
2013-07-12 17:16:37 -04:00
2012-10-03 16:01:22 -07:00
2012-11-04 11:00:35 -07:00
2012-11-04 11:00:35 -07:00
2013-03-12 17:06:22 +09:00
2012-11-04 11:00:35 -07:00
2012-11-04 11:00:35 -07:00
2012-11-04 11:00:34 -07:00
2013-04-01 16:33:52 -04:00
2012-11-04 11:00:35 -07:00
2012-11-04 11:00:34 -07:00
2013-04-28 11:07:40 +02:00
2012-12-11 13:17:33 -07:00
2013-02-20 08:52:41 -05:00
2013-03-12 23:28:40 +01:00
2012-11-04 11:00:35 -07:00
2012-11-04 11:00:35 -07:00
2011-04-08 00:44:27 -04:00
2011-07-28 16:41:06 +02:00
2012-11-04 11:00:35 -07:00
2013-06-26 10:16:41 -04:00
2012-11-04 11:00:35 -07:00
2012-11-04 11:00:35 -07:00
2012-11-04 11:00:35 -07:00
2013-05-31 17:12:03 -05:00
2012-11-04 11:00:35 -07:00
2013-06-24 19:10:14 -05:00
2013-01-08 10:54:33 +09:00
2013-04-12 14:13:13 -07:00
2013-06-26 10:16:41 -04:00
2013-04-11 15:52:54 -04:00
2012-08-09 23:39:18 +02:00
2012-12-13 11:46:56 -07:00
2013-04-01 16:33:52 -04:00
2013-04-01 16:33:52 -04:00
2012-12-11 13:17:34 -07:00
2013-05-31 17:12:03 -05:00
2011-12-07 08:41:22 +01:00
2011-02-02 22:36:10 +01:00
2010-01-18 00:23:00 +01:00
2011-10-22 01:13:35 +02:00
2002-08-17 09:36:01 +00:00
2012-11-04 11:00:35 -07:00