diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2017-03-24 09:07:19 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2017-03-31 13:57:54 +0200 |
commit | dd6d70a01092b8473ff5959afcb18b9ac64b3346 (patch) | |
tree | ae4aee057e94d6ccad2e9188a42ff9c798e8efd3 | |
parent | d31727fbf7c9c9536ec3b6b8c524c3ce1737f580 (diff) | |
download | dt-utils-dd6d70a01092b8473ff5959afcb18b9ac64b3346.tar.gz dt-utils-dd6d70a01092b8473ff5959afcb18b9ac64b3346.tar.xz |
state: backend_storage: rewrite function doc
The function documentation for state_storage_file_buckets_init() is not
very accurate. Rewrite it.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | src/barebox-state/backend_storage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/barebox-state/backend_storage.c b/src/barebox-state/backend_storage.c index 2f3e39d..47a41dd 100644 --- a/src/barebox-state/backend_storage.c +++ b/src/barebox-state/backend_storage.c @@ -290,8 +290,8 @@ static int state_storage_mtd_buckets_init(struct state_backend_storage *storage, * @param storage Storage object * @return 0 on success, -errno otherwise * - * For blockdevices and other regular files we create direct buckets beginning - * at offset 0. Direct buckets are simple and write data always to offset 0. + * direct buckets are simpler than circular buckets and can be used on blockdevices + * and mtd devices that don't need erase (MRAM). Also used for EEPROMs. */ static int state_storage_file_buckets_init(struct state_backend_storage *storage) { |