From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pg0-x243.google.com ([2607:f8b0:400e:c05::243]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f89ro-0003wz-6a for barebox@lists.infradead.org; Mon, 16 Apr 2018 19:32:46 +0000 Received: by mail-pg0-x243.google.com with SMTP id e12so4279283pgn.9 for ; Mon, 16 Apr 2018 12:32:35 -0700 (PDT) From: Andrey Smirnov Date: Mon, 16 Apr 2018 12:31:55 -0700 Message-Id: <20180416193157.16094-18-andrew.smirnov@gmail.com> In-Reply-To: <20180416193157.16094-1-andrew.smirnov@gmail.com> References: <20180416193157.16094-1-andrew.smirnov@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH v2 17/19] bootsource: Add BOOTSOURCE_CAN To: barebox@lists.infradead.org Cc: Andrey Smirnov Add BOOTSOURCE_CAN for SoCs that can boot from CAN interface. Signed-off-by: Andrey Smirnov --- 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@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox