summaryrefslogtreecommitdiff
path: root/extra/usb_updater/gsctool.h
diff options
context:
space:
mode:
Diffstat (limited to 'extra/usb_updater/gsctool.h')
-rw-r--r--extra/usb_updater/gsctool.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/extra/usb_updater/gsctool.h b/extra/usb_updater/gsctool.h
index 707ddfde87..d3ac8f5e85 100644
--- a/extra/usb_updater/gsctool.h
+++ b/extra/usb_updater/gsctool.h
@@ -7,6 +7,7 @@
#ifndef __EXTRA_USB_UPDATER_GSCTOOL_H
#define __EXTRA_USB_UPDATER_GSCTOOL_H
+#include <stdbool.h>
#include <stdint.h>
#include <sys/types.h>
@@ -84,11 +85,13 @@ enum board_id_action {
/*
* This function allows to retrieve or set (if not initialized) board ID of
- * the H1 chip.
+ * the H1 chip. If bid_action is bid_get and show_machine_output is set,
+ * prints out board ID in a machine-friendly format.
*/
void process_bid(struct transfer_descriptor *td,
enum board_id_action bid_action,
- struct board_id *bid);
+ struct board_id *bid,
+ bool show_machine_output);
/*
* This function can be used to retrieve the current PP status from Cr50 and