summaryrefslogtreecommitdiffstats
path: root/common/state/state.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2018-05-09 14:17:06 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2018-05-09 14:17:06 +0200
commita90a0bbf41e2fc251d31de604e06895ef1db05fa (patch)
tree1dcd66396a2abf9ace3a61ce04722fed35ca3e41 /common/state/state.h
parent091b51c0a9479d4d917d399e018f51db3d6332f9 (diff)
parenta8a03551034bee6d2a66fc514342664f760bb4b6 (diff)
downloadbarebox-a90a0bbf41e2fc251d31de604e06895ef1db05fa.tar.gz
barebox-a90a0bbf41e2fc251d31de604e06895ef1db05fa.tar.xz
Merge branch 'for-next/state'
Diffstat (limited to 'common/state/state.h')
-rw-r--r--common/state/state.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/state/state.h b/common/state/state.h
index 6670523cbb..3a0662fd25 100644
--- a/common/state/state.h
+++ b/common/state/state.h
@@ -46,6 +46,7 @@ struct state_backend_storage_bucket {
void *buf;
ssize_t len;
bool needs_refresh;
+ bool wrong_magic;
};
/**
@@ -105,6 +106,7 @@ struct state {
char *of_path;
const char *name;
uint32_t magic;
+ bool keep_prev_content;
struct list_head variables; /* Sorted list of variables */