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-02-15 20:58:25 +00:00
2016-04-18 12:29:14 -04:00
2016-02-06 12:00:59 +01:00
2016-05-02 18:37:09 -04:00
2016-03-27 09:12:17 -04:00
2016-06-06 13:39:12 -04:00