diff options
author | Patrick Delaunay <patrick.delaunay@st.com> | 2019-10-14 10:28:01 +0300 |
---|---|---|
committer | Marek Vasut <marek.vasut+renesas@gmail.com> | 2019-10-31 14:12:31 +0300 |
commit | 9ada683055a11860b83d5c2cc13713ca2b173c33 (patch) | |
tree | b902f3e16288731a788a810475ab921f00f3aecb /include | |
parent | cb986ba0fe4692a9d21a193c4ca9db460df77364 (diff) | |
download | u-boot-9ada683055a11860b83d5c2cc13713ca2b173c33.tar.xz |
dfu: prepare the support of multiple interface
Split the function dfu_config_entities with 2 new functions
- dfu_alt_init
- dfu_alt_add
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/dfu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/dfu.h b/include/dfu.h index bf51ab74a5..7d60ffc228 100644 --- a/include/dfu.h +++ b/include/dfu.h @@ -143,6 +143,8 @@ struct dfu_entity { #ifdef CONFIG_SET_DFU_ALT_INFO void set_dfu_alt_info(char *interface, char *devstr); #endif +int dfu_alt_init(int num, struct dfu_entity **dfu); +int dfu_alt_add(struct dfu_entity *dfu, char *interface, char *devstr, char *s); int dfu_config_entities(char *s, char *interface, char *devstr); void dfu_free_entities(void); void dfu_show_entities(void); |