summaryrefslogtreecommitdiff
path: root/include/spl.h
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2016-09-30 21:58:44 -0400
committerTom Rini <[email protected]>2016-09-30 21:58:44 -0400
commitfe4ba689a0cb2bb2ceafb88556a57bd80814b648 (patch)
tree1012656ba1d3e9f8288d69de33c71417b2f22466 /include/spl.h
parentf413d1cae89143ad45b066b3d3bc602deafcb50a (diff)
parent4c043712e9910ef1d612aedbd8304a1f7348ef5f (diff)
Merge branch 'master' of git://git.denx.de/u-boot-usb
Signed-off-by: Tom Rini <[email protected]> Conflicts: include/configs/dra7xx_evm.h
Diffstat (limited to 'include/spl.h')
-rw-r--r--include/spl.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/spl.h b/include/spl.h
index 8afa0856c58..30eda36feff 100644
--- a/include/spl.h
+++ b/include/spl.h
@@ -144,4 +144,12 @@ void spl_board_init(void);
*/
bool spl_was_boot_source(void);
+/**
+ * spl_dfu_cmd- run dfu command with chosen mmc device interface
+ * @param usb_index - usb controller number
+ * @param mmc_dev - mmc device nubmer
+ *
+ * @return 0 on success, otherwise error code
+ */
+int spl_dfu_cmd(int usbctrl, char *dfu_alt_info, char *interface, char *devstr);
#endif