summaryrefslogtreecommitdiffstats
path: root/src/barebox-state/state.h
diff options
context:
space:
mode:
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;
};