u-boot/common/spl
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
..
Makefile spl: support loading from UBI volumes 2016-07-22 09:53:00 -04:00
spl.c spl: zImage support in Falcon mode 2016-07-22 09:53:00 -04:00
spl_ext.c SPL ext: cosmetic: correct error message in spl_load_image_ext() 2016-06-19 09:57:48 -04:00
spl_fat.c spl: Fix compilation warnings for arm64 2016-07-22 14:03:54 +02:00
spl_fit.c spl: fit: Fix the number of bytes read in raw mode 2016-07-22 14:46:25 -04:00
spl_mmc.c dm: spl: mmc: Support CONFIG_BLK in SPL MMC 2016-07-11 14:06:44 -06:00
spl_nand.c spl: nand: support redundant u-boot image 2016-06-19 19:11:57 -05:00
spl_net.c SPL: Let spl_parse_image_header() return value 2016-05-17 17:52:20 +02:00
spl_nor.c SPL: Let spl_parse_image_header() return value 2016-05-17 17:52:20 +02:00
spl_onenand.c SPL: Let spl_parse_image_header() return value 2016-05-17 17:52:20 +02:00
spl_sata.c dm: scsi: Drop the get_dev() function 2016-05-17 09:54:43 -06:00
spl_ubi.c spl: support loading from UBI volumes 2016-07-22 09:53:00 -04:00
spl_usb.c dm: usb: Drop the get_dev() function 2016-05-17 09:54:43 -06:00
spl_ymodem.c spl: Add an option to load a FIT containing U-Boot from UART 2016-05-27 15:47:42 -04:00