summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/bootsource.c1
-rw-r--r--include/bootsource.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/common/bootsource.c b/common/bootsource.c
index 4ef8d8ad95..1f2bf87e99 100644
--- a/common/bootsource.c
+++ b/common/bootsource.c
@@ -37,6 +37,7 @@ static const char *bootsource_str[] = {
[BOOTSOURCE_USB] = "usb",
[BOOTSOURCE_NET] = "net",
[BOOTSOURCE_CAN] = "can",
+ [BOOTSOURCE_JTAG] = "jtag",
};
static enum bootsource bootsource = BOOTSOURCE_UNKNOWN;
diff --git a/include/bootsource.h b/include/bootsource.h
index 29347aaeb0..92f7f27cd4 100644
--- a/include/bootsource.h
+++ b/include/bootsource.h
@@ -17,6 +17,7 @@ enum bootsource {
BOOTSOURCE_USB,
BOOTSOURCE_NET,
BOOTSOURCE_CAN,
+ BOOTSOURCE_JTAG,
};
#define BOOTSOURCE_INSTANCE_UNKNOWN -1