mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
dfu: Export allocated dfu buffer size
The method for exporting size of allocated buffer is provided. It is afterwards used by USB's dfu function code. Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
This commit is contained in:
committed by
Marek Vasut
parent
f3bf212abc
commit
4fb127898e
@@ -131,6 +131,7 @@ bool dfu_reset(void);
|
||||
int dfu_init_env_entities(char *interface, int dev);
|
||||
unsigned char *dfu_get_buf(void);
|
||||
unsigned char *dfu_free_buf(void);
|
||||
unsigned long dfu_get_buf_size(void);
|
||||
|
||||
int dfu_read(struct dfu_entity *de, void *buf, int size, int blk_seq_num);
|
||||
int dfu_write(struct dfu_entity *de, void *buf, int size, int blk_seq_num);
|
||||
|
Reference in New Issue
Block a user