Lokesh Vutla
3cc1f380e5
spl: fit: Fix the number of bytes read in raw mode
...
In raw mode a full sector is to be read even if image covers part of
a sector. Number of sectors are calculated as ROUND_UP(size)/sec_size by FIT
framework. This calculation assumes that image is at the 0th offset of a sector,
which is not true always in FIT case. So, include the image offset while
calculating number of sectors.
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
2016-07-22 14:46:25 -04:00
..
2016-05-20 17:02:07 -04:00
2016-06-09 13:53:08 -04:00
2016-07-22 14:46:25 -04:00
2016-07-01 17:42:56 -04:00
2016-07-19 16:38:57 -04:00
2015-08-13 07:19:36 -04:00
2016-05-17 09:54:43 -06:00
2016-07-14 18:22:32 -04:00
2016-07-14 18:22:44 -04:00
2016-02-08 10:10:37 -05:00
2015-08-12 20:47:13 -04:00
2016-01-13 21:05:26 -05:00
2016-06-24 17:24:34 -04:00
2016-04-01 17:17:40 -04:00
2016-03-27 09:12:26 -04:00
2016-01-19 08:31:21 -05:00
2016-05-23 11:50:17 -04:00
2016-01-04 12:25:35 -05:00
2016-07-16 09:43:12 -04:00
2016-04-11 12:44:37 -04:00
2016-06-24 17:24:35 -04:00
2016-03-14 15:34:50 -06:00
2016-02-15 20:58:25 +00:00
2016-05-27 10:23:08 -06:00
2016-06-03 20:27:48 -05:00
2016-04-18 12:29:14 -04:00
2016-07-09 20:16:34 +05:30
2016-06-13 06:41:20 +02:00
2016-07-11 14:06:44 -06:00
2016-06-27 16:37:39 -04:00
2016-05-25 23:13:38 +02:00
2016-01-13 21:05:08 -05:00
2016-05-17 09:54:43 -06:00
2016-06-24 17:23:07 -04:00
2016-03-15 21:30:14 -04:00
2016-06-17 09:50:59 -04:00
2016-06-27 16:37:39 -04:00
2016-07-14 18:22:30 -04:00
2015-11-19 20:27:50 -07:00
2016-07-22 14:06:11 +02:00
2016-02-06 12:00:59 +01:00
2016-05-02 18:37:09 -04:00
2015-07-23 18:10:58 +02:00
2016-03-27 09:12:17 -04:00
2016-05-27 15:39:54 -04:00
2016-06-24 17:24:34 -04:00
2016-03-17 10:27:23 +08:00
2016-02-10 08:34:42 -05:00
2016-03-27 09:12:23 -04:00
2015-12-05 18:22:24 -05:00
2016-05-17 09:54:43 -06:00
2016-06-06 13:39:12 -04:00
2016-06-14 05:33:02 +02:00
2016-01-21 20:42:36 -07:00
2015-09-07 13:41:05 +02:00
2016-05-06 20:06:56 +02:00
2016-04-10 17:18:42 +02:00
2016-05-17 09:54:43 -06:00
2016-06-04 00:43:53 +02:00
2016-03-14 19:18:42 -04:00