summaryrefslogtreecommitdiffstats
path: root/include/state.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2017-03-27 10:14:38 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2017-03-31 18:43:53 +0200
commit0c7436753c73e71ee512e5ed8029e7ccceedcd89 (patch)
treecc1524b0abc4c016968cef8989408f0680eed548 /include/state.h
parenta081eb840ed12eff6256a5497771a8c3168fc95b (diff)
downloadbarebox-0c7436753c73e71ee512e5ed8029e7ccceedcd89.tar.gz
barebox-0c7436753c73e71ee512e5ed8029e7ccceedcd89.tar.xz
state: Allow to load without authentification
Sometimes it's useful to be able to load a state even when it can't be authentificated. Add an option for this. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/state.h')
-rw-r--r--include/state.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/state.h b/include/state.h
index bc9a574093..63164f92e5 100644
--- a/include/state.h
+++ b/include/state.h
@@ -18,6 +18,7 @@ struct state *state_by_name(const char *name);
struct state *state_by_node(const struct device_node *node);
int state_get_name(const struct state *state, char const **name);
+int state_load_no_auth(struct state *state);
int state_load(struct state *state);
int state_save(struct state *state);
void state_info(void);