projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rockchip: back-to-bootrom: add 'back-to-bootrom' support for AArch64
[oweals/u-boot.git]
/
include
/
dfu.h
diff --git
a/include/dfu.h
b/include/dfu.h
index f39d3f1171a0d87393571ad96fd2e15cae30077c..7e322d9d2764d4091cd00cf87709a33da991c38f 100644
(file)
--- a/
include/dfu.h
+++ b/
include/dfu.h
@@
-110,7
+110,7
@@
struct dfu_entity {
struct sf_internal_data sf;
} data;
struct sf_internal_data sf;
} data;
-
long (*get_medium_size)(struct dfu_entity *dfu
);
+
int (*get_medium_size)(struct dfu_entity *dfu, u64 *size
);
int (*read_medium)(struct dfu_entity *dfu,
u64 offset, void *buf, long *len);
int (*read_medium)(struct dfu_entity *dfu,
u64 offset, void *buf, long *len);
@@
-132,7
+132,7
@@
struct dfu_entity {
u8 *i_buf;
u8 *i_buf_start;
u8 *i_buf_end;
u8 *i_buf;
u8 *i_buf_start;
u8 *i_buf_end;
-
long
r_left;
+
u64
r_left;
long b_left;
u32 bad_skip; /* for nand use */
long b_left;
u32 bad_skip; /* for nand use */