Changes in v4:
        - Add bootcount.rst in doc/api/index.rst
        - Fix typo in documentation

Changes in v3:
        - Remove specific CONFIGs for filesystems
        - Add message to prompt user to enable required write function
        - Use tags from previous rounds
        - Move documentation to rST

v2: 
https://lore.kernel.org/u-boot/20240610185116.353604-1-vassilisa...@gmail.com

Changes in v2:
        - Use generic code by utilizing FS_TYPE_ANY
        - Change filename from bootcount_ext.c to bootcount_fs.c

v1: 
https://lore.kernel.org/u-boot/20240605181041.68317-1-vassilisa...@gmail.com/

This patch adds support to save the bootcount variable in a file located in
FAT filesystem. Up to now, there was support only for EXT filesystem.

The reason I put this as RFC is because the file "bootcount_ext.c" will no
longer represent the implementation for the EXT filesystem, but also for the
FAT filesystem. Should it be renamed? If not, wouldn't it be inconsistent?

Cheers,
Vasilis

Vasileios Amoiridis (3):
  drivers: bootcount: Add support for ANY filesystem
  doc: api: bootcount: Convert to rST documentation
  drivers: bootcount: Fix typo in documentation

 doc/README.bootcount                          | 53 -----------------
 doc/api/bootcount.rst                         | 58 +++++++++++++++++++
 doc/api/index.rst                             |  1 +
 drivers/bootcount/Kconfig                     | 36 ++++++------
 drivers/bootcount/Makefile                    |  2 +-
 .../{bootcount_ext.c => bootcount_fs.c}       | 12 ++--
 6 files changed, 84 insertions(+), 78 deletions(-)
 delete mode 100644 doc/README.bootcount
 create mode 100644 doc/api/bootcount.rst
 rename drivers/bootcount/{bootcount_ext.c => bootcount_fs.c} (81%)


base-commit: c53b344475734d0d29f522b7b1d80c5b8204442d
-- 
2.25.1

Reply via email to