diff options
Diffstat (limited to 'futility/updater_utils.h')
-rw-r--r-- | futility/updater_utils.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/futility/updater_utils.h b/futility/updater_utils.h index f5248f86..5e6e99cd 100644 --- a/futility/updater_utils.h +++ b/futility/updater_utils.h @@ -171,6 +171,13 @@ enum wp_state { enum wp_state host_get_wp(const char *programmer); /* + * Helper function to detect type of Servo board attached to host, + * and store the right programmer / prepare settings to arguments. + * Returns 0 if success, non-zero if error. + */ +int host_detect_servo(const char **programmer_ptr, int *need_prepare_ptr); + +/* * Returns 1 if a given file (cbfs_entry_name) exists inside a particular CBFS * section of an image file, otherwise 0. */ |