summaryrefslogtreecommitdiffstats
path: root/lib/pb-config/pb-config.h
diff options
context:
space:
mode:
authorGeoff Levand <geoff@infradead.org>2013-07-23 13:30:19 -0700
committerGeoff Levand <geoff@infradead.org>2013-07-23 13:49:23 -0700
commit37d865eb008f746a0b013557312c6b44c7236eb7 (patch)
tree2551788b9617030b8a058fd70f9da3129220892e /lib/pb-config/pb-config.h
parente5f5a2e91e89af08925b6dae3680fc9ef62190ff (diff)
downloadpetitboot-37d865eb008f746a0b013557312c6b44c7236eb7.zip
petitboot-37d865eb008f746a0b013557312c6b44c7236eb7.tar.gz
discover: Hookup --no-autoboot to config
Add new routine config_set_autoboot(), and use it to set the --no-autoboot option. Signed-off-by: Geoff Levand <geoff@infradead.org>
Diffstat (limited to 'lib/pb-config/pb-config.h')
-rw-r--r--lib/pb-config/pb-config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pb-config/pb-config.h b/lib/pb-config/pb-config.h
index cfcf025..c377087 100644
--- a/lib/pb-config/pb-config.h
+++ b/lib/pb-config/pb-config.h
@@ -33,6 +33,7 @@ struct config {
int config_init(void *ctx);
const struct config *config_get(void);
+void config_set_autoboot(bool autoboot_enabled);
int config_fini(void);
#endif /* CONFIGURATION_H */
OpenPOWER on IntegriCloud