summaryrefslogtreecommitdiffstats
path: root/src/barebox-state/state.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2017-03-27 11:53:01 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2017-03-31 13:57:15 +0200
commitfd67d47d265b8e4aaae726caf5a5bb99f62b2215 (patch)
treeadf080a298b76f9249b8b36cef5dd885f0d49e74 /src/barebox-state/state.h
parent50fb411a20980847abeb84acc7afa10e7d44f097 (diff)
downloaddt-utils-fd67d47d265b8e4aaae726caf5a5bb99f62b2215.tar.gz
dt-utils-fd67d47d265b8e4aaae726caf5a5bb99f62b2215.tar.xz
barebox-state: Sync pieces with barebox
dev_add_param_bool are no-ops, save_on_shutdown is irrelevant for the userspace part. Sync with barebox as of v2017.03.0 Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'src/barebox-state/state.h')
-rw-r--r--src/barebox-state/state.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/barebox-state/state.h b/src/barebox-state/state.h
index 58de643..bc6917d 100644
--- a/src/barebox-state/state.h
+++ b/src/barebox-state/state.h
@@ -71,6 +71,7 @@ struct state_backend_storage {
struct device_d *dev;
const char *name;
+
uint32_t stridesize;
bool readonly;
@@ -98,8 +99,8 @@ struct state {
uint32_t magic;
struct list_head variables; /* Sorted list of variables */
- unsigned int dirty; /* State is different from stored state */
- unsigned int state_default; /* State has default values */
+ unsigned int dirty;
+ unsigned int save_on_shutdown;
struct state_backend backend;
};