diff options
author | Vasileios Amoiridis <vassilisamir@gmail.com> | 2024-06-28 19:35:41 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-07-16 12:46:34 -0600 |
commit | 1d7e2120af8ddf1abbdb6f34e3a39174cf54736f (patch) | |
tree | 621ccea85f76b461f3fd0744bc3988fae27b8088 /doc | |
parent | c53b344475734d0d29f522b7b1d80c5b8204442d (diff) | |
download | u-boot-1d7e2120af8ddf1abbdb6f34e3a39174cf54736f.zip u-boot-1d7e2120af8ddf1abbdb6f34e3a39174cf54736f.tar.gz u-boot-1d7e2120af8ddf1abbdb6f34e3a39174cf54736f.tar.bz2 |
drivers: bootcount: Add support for ANY filesystem
Add support to save boot count variable in ANY filesystem. Tested with
FAT and EXT.
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Philip Oberfichtner <pro@denx.de>
Signed-off-by: Vasileios Amoiridis <vasileios.amoiridis@cern.ch>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/README.bootcount | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/README.bootcount b/doc/README.bootcount index f6c5f82..0f4ffb6 100644 --- a/doc/README.bootcount +++ b/doc/README.bootcount @@ -23,15 +23,15 @@ It is the responsibility of some application code (typically a Linux application) to reset the variable "bootcount" to 0 when the system booted successfully, thus allowing for more boot cycles. -CONFIG_BOOTCOUNT_EXT +CONFIG_BOOTCOUNT_FS -------------------- -This adds support for maintaining boot count in a file on an EXT filesystem. -The file to use is defined by: +This adds support for maintaining boot count in a file on a filesystem. +Supported filesystems are FAT and EXT. The file to use is defined by: -CONFIG_SYS_BOOTCOUNT_EXT_INTERFACE -CONFIG_SYS_BOOTCOUNT_EXT_DEVPART -CONFIG_SYS_BOOTCOUNT_EXT_NAME +CONFIG_SYS_BOOTCOUNT_FS_INTERFACE +CONFIG_SYS_BOOTCOUNT_FS_DEVPART +CONFIG_SYS_BOOTCOUNT_FS_NAME The format of the file is: |