u-boot/test/image
Sean Anderson 73c40fcb73 spl: Refactor spl_load_info->read to use units of bytes
Simplify things a bit for callers of spl_load_info->read by refactoring it
to use units of bytes instead of bl_len. This generally simplifies the
logic, as MMC is the only loader which actually works in sectors. It will
also allow further refactoring to remove the special-case handling of
filename.  spl_load_legacy_img already works in units of bytes (oops) so it
doesn't need to be changed.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-11-16 13:49:14 -05:00
..
Kconfig test: spl: Add a test for NAND 2023-11-16 12:43:49 -05:00
Makefile test: spl: Add a test for NAND 2023-11-16 12:43:49 -05:00
spl_load.c test: spl: Add a test for the SPI load method 2023-10-17 20:50:52 -04:00
spl_load_fs.c test: spl: Add a test for the MMC load method 2023-10-17 20:50:52 -04:00
spl_load_nand.c test: spl: Add a test for NAND 2023-11-16 12:43:49 -05:00
spl_load_net.c test: spl: Add a test for the NET load method 2023-10-17 20:50:52 -04:00
spl_load_nor.c test: spl: Add a test for the NOR load method 2023-10-17 20:50:52 -04:00
spl_load_os.c spl: Refactor spl_load_info->read to use units of bytes 2023-11-16 13:49:14 -05:00
spl_load_spi.c test: spl: Add a test for the SPI load method 2023-10-17 20:50:52 -04:00
test-imagetools.sh test: Update test-imagetools.sh to match new syntax 2019-03-08 11:31:44 -05:00