]> git.sur5r.net Git - u-boot/commit
dfu: remove limitation on partition size
authorPatrick Delaunay <patrick.delaunay@st.com>
Wed, 19 Jul 2017 14:39:23 +0000 (16:39 +0200)
committerMarek Vasut <marex@denx.de>
Fri, 28 Jul 2017 21:34:39 +0000 (23:34 +0200)
commit15970d871c299c8a4218911ee68edb0495a69cd4
treef8f31f420ca9e3f4f1ec4be3cc568303c59f833d
parent4de512018ba7d57f1672be21c7459281f7c97514
dfu: remove limitation on partition size

Change long (32 bits on arm) to u64 (same type than offset)
for size and read offset r_left

So partition and device used for DFU can be greater than 4GB

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
drivers/dfu/dfu.c
drivers/dfu/dfu_mmc.c
drivers/dfu/dfu_nand.c
drivers/dfu/dfu_ram.c
drivers/dfu/dfu_sf.c
include/dfu.h