Add BOOTSOURCE_CAN for SoCs that can boot from CAN interface. Signed-off-by: Andrey Smirnov <andrew.smirnov@xxxxxxxxx> --- common/bootsource.c | 1 + include/bootsource.h | 1 + 2 files changed, 2 insertions(+) diff --git a/common/bootsource.c b/common/bootsource.c index 707b07924..78ecd8267 100644 --- a/common/bootsource.c +++ b/common/bootsource.c @@ -36,6 +36,7 @@ static const char *bootsource_str[] = { [BOOTSOURCE_HD] = "harddisk", [BOOTSOURCE_USB] = "usb", [BOOTSOURCE_NET] = "net", + [BOOTSOURCE_CAN] = "can", }; static enum bootsource bootsource = BOOTSOURCE_UNKNOWN; diff --git a/include/bootsource.h b/include/bootsource.h index c6d3b3a98..064f6b9a2 100644 --- a/include/bootsource.h +++ b/include/bootsource.h @@ -16,6 +16,7 @@ enum bootsource { BOOTSOURCE_HD, BOOTSOURCE_USB, BOOTSOURCE_NET, + BOOTSOURCE_CAN, }; #define BOOTSOURCE_INSTANCE_UNKNOWN -1 -- 2.14.3 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox