Skip to content

drivers: bootcount: Add support for ANY filesystem

Vasileios Amoiridis u-boot 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 3 repliesIn review
  2. v32 patches 5 repliesSuperseded
  3. v21 patch 12 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v1 RFC1 patch4 repliesSuperseded

Changes in v4 from the cover letter

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

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drivers: bootcount: Add support for ANY filesystemdoc/README.bootcount drivers/bootcount/Kconfig drivers/bootcount/Makefile +1 more+31 -311 reply
2/3doc: api: bootcount: Convert to rST documentationdoc/README.bootcount doc/api/bootcount.rst doc/api/index.rst+59 -530 replies
3/3drivers: bootcount: Fix typo in documentationdoc/api/bootcount.rst+1 -11 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchTom RiniHeiko SchocherPhilip OberfichtnerQuentin Schulz
1/3R-b R-b R-b
2/3
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/3] drivers: bootcount: Add support for ANY filesystem

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/[email protected]

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/[email protected]/

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

Signature · 1 line
2.25.1