diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2017-01-16 12:46:29 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2017-01-16 12:46:31 +0100 |
commit | 9ccb74826b4abc477a568e7c1166262590ecdd2f (patch) | |
tree | ff32d83c0690f64e84736f0b59e2225324689516 | |
parent | 31f9cb86467846d7da88720db05b44ccde9b316d (diff) | |
download | dt-utils-9ccb74826b4abc477a568e7c1166262590ecdd2f.tar.gz dt-utils-9ccb74826b4abc477a568e7c1166262590ecdd2f.tar.xz |
barebox-state: Fix comment
Writes are always beginning at a page and pages can't be erased.
It's 'eraseblock' that is meant here.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | src/barebox-state/backend_bucket_circular.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/barebox-state/backend_bucket_circular.c b/src/barebox-state/backend_bucket_circular.c index 72e165e..63a4d4a 100644 --- a/src/barebox-state/backend_bucket_circular.c +++ b/src/barebox-state/backend_bucket_circular.c @@ -323,7 +323,7 @@ static int state_backend_bucket_circular_write(struct state_backend_storage_buck circ->write_area = 0; } /* - * If the write area is at the beginning of the page, erase it and write + * If the write area is at the beginning of the eraseblock, erase it and write * at offset 0. As we only erase right before writing there are no * conditions where we regularly erase a block multiple times without * writing. |