mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-22 12:23:12 +01:00
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> |
||
|---|---|---|
| .. | ||
| Makefile | ||
| spl.c | ||
| spl_ext.c | ||
| spl_fat.c | ||
| spl_fit.c | ||
| spl_mmc.c | ||
| spl_nand.c | ||
| spl_net.c | ||
| spl_nor.c | ||
| spl_onenand.c | ||
| spl_sata.c | ||
| spl_ubi.c | ||
| spl_usb.c | ||
| spl_ymodem.c | ||