summaryrefslogtreecommitdiffstats
path: root/include/blspec.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-07-20 14:46:32 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2016-07-22 14:41:35 +0200
commit333378d4e49f91b9d3c7f9a6886b64a9c5c01474 (patch)
tree8158bc51d45c6fc1c84e93509fb69ebd0c7b328a /include/blspec.h
parent7c765590230b18da96827d8a42d7940d12054284 (diff)
downloadbarebox-333378d4e49f91b9d3c7f9a6886b64a9c5c01474.tar.gz
barebox-333378d4e49f91b9d3c7f9a6886b64a9c5c01474.tar.xz
blspec: Remove once/default handling
This is widely unused and in the way of subsequent cleanups. If you are indeed using it please complain on the list, we'll find a solution to add it back in a different way. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/blspec.h')
-rw-r--r--include/blspec.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/blspec.h b/include/blspec.h
index 9fc42dfa1a..4b61ef8be6 100644
--- a/include/blspec.h
+++ b/include/blspec.h
@@ -15,8 +15,6 @@ struct blspec_entry {
struct cdev *cdev;
char *rootpath;
char *configpath;
- bool boot_default;
- bool boot_once;
struct menu_entry me;
@@ -89,13 +87,4 @@ static inline void blspec_free(struct blspec *blspec)
free(blspec);
}
-#ifdef CONFIG_BLSPEC
-struct blspec_entry *blspec_entry_default(struct blspec *l);
-#else
-static inline struct blspec_entry *blspec_entry_default(struct blspec *l)
-{
- return NULL;
-}
-#endif
-
#endif /* __LOADER_H__ */