diff options
Diffstat (limited to 'include/spl.h')
-rw-r--r-- | include/spl.h | 8 |
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 |