u-boot/drivers/dfu
Patrick Delaunay 4de512018b dfu: allow dfu read on partition greater than 2GB
solve issue on get_medium_size() function
the detection of error is a simple test < 0
but for ARM platform, long is 32bits and 2GB = 0x80000000
is seen as error.

I solve the issue by changing the prototype fo the function
to separate size and result.
This patch prepare the next patch with size change to u64.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
2017-07-28 23:34:38 +02:00
..
dfu_mmc.c dfu: allow dfu read on partition greater than 2GB 2017-07-28 23:34:38 +02:00
dfu_nand.c dfu: allow dfu read on partition greater than 2GB 2017-07-28 23:34:38 +02:00
dfu_ram.c dfu: allow dfu read on partition greater than 2GB 2017-07-28 23:34:38 +02:00
dfu_sf.c dfu: allow dfu read on partition greater than 2GB 2017-07-28 23:34:38 +02:00
dfu_tftp.c dfu: tftp: update: Provide tftp support for the DFU subsystem 2015-09-07 13:41:04 +02:00
dfu.c dfu: allow dfu read on partition greater than 2GB 2017-07-28 23:34:38 +02:00
Kconfig dfu: Migrate to Kconfig 2016-09-27 10:46:45 -04:00
Makefile dfu: tftp: update: Provide tftp support for the DFU subsystem 2015-09-07 13:41:04 +02:00