From 6656c5ffe3278d6ee83b7555bb8deb8ba1cd755f Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Thu, 11 Feb 2016 15:59:06 +0100 Subject: blspec: ignore lines beginning with '#' According to the bootloader spec these should be treated as comments. Signed-off-by: Sascha Hauer --- common/blspec.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'common/blspec.c') diff --git a/common/blspec.c b/common/blspec.c index 0f806cac7a..18005569ff 100644 --- a/common/blspec.c +++ b/common/blspec.c @@ -86,6 +86,9 @@ static struct blspec_entry *blspec_entry_open(struct blspec *blspec, next++; } + if (*line == '#') + continue; + name = line; end = name; -- cgit v1.2.3