summaryrefslogtreecommitdiffstats
path: root/common/bootsource.c
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2018-04-16 12:31:55 -0700
committerSascha Hauer <s.hauer@pengutronix.de>2018-04-17 09:13:07 +0200
commit0b3c9e61273b641c6f80c0bf85c5c471fbc137b0 (patch)
tree715dc226bbb9e6212b7e7a3bea771cdfa6832368 /common/bootsource.c
parent499ac217c6f56b4bf32fd7c0ce75510020deab60 (diff)
downloadbarebox-0b3c9e61273b641c6f80c0bf85c5c471fbc137b0.tar.gz
bootsource: Add BOOTSOURCE_CAN
Add BOOTSOURCE_CAN for SoCs that can boot from CAN interface. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/bootsource.c')
-rw-r--r--common/bootsource.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/bootsource.c b/common/bootsource.c
index 707b079..78ecd82 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;