Files
u-boot/tools
Pali Rohár a339d6c464 tools: kwboot: Replace fstat()+st_size by lseek()+SEEK_END
fstat()'s st_size works only for regular files. lseek() with SEEK_END works
also for block or MTD devices. This replacement allows kwboot to load
kwbimage from /dev/mtd0 for booting another device over /dev/ttyS0.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Marek Behún <marek.behun@nic.cz>
2022-04-21 12:31:36 +02:00
..
2022-03-15 16:19:51 -04:00
2022-04-19 14:51:11 -04:00
2022-01-19 18:11:34 +01:00
2022-01-28 17:58:41 -05:00
2022-01-19 18:11:34 +01:00