summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2015-05-26 13:37:53 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-05-26 14:33:18 +0200
commit5a71e981fd3a2637cef647bc0f63ac3731a28c4d (patch)
tree9cdcc558d98b137c8bc61f2d4d6b32444810d905 /common
parent51b0b010beb9cc9c0c86ceab875b7404956a560a (diff)
downloadbarebox-5a71e981fd3a2637cef647bc0f63ac3731a28c4d.tar.gz
barebox-5a71e981fd3a2637cef647bc0f63ac3731a28c4d.tar.xz
state: backend_raw: update documentation of struct state_backend_raw members
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r--common/state.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/state.c b/common/state.c
index 6e4d7169bc..d243de8b01 100644
--- a/common/state.c
+++ b/common/state.c
@@ -1030,8 +1030,8 @@ int state_backend_dtb_file(struct state *state, const char *of_path, const char
*/
struct state_backend_raw {
struct state_backend backend;
- unsigned long size_data; /* The raw data size (without magic and crc) */
- unsigned long size_full;
+ unsigned long size_data; /* The raw data size (without header) */
+ unsigned long size_full; /* The size header + raw data */
unsigned long stride; /* The stride size in bytes of the copies */
off_t offset; /* offset in the storage file */
size_t size; /* size of the storage area */