[RFC PATCH 0/1] drivers: bootcount: Add support for FAT filesystem

Vasileios Amoiridis vassilisamir at gmail.com
Wed Jun 5 20:10:40 CEST 2024


From: Vasileios Amoiridis <vasileios.amoiridis at cern.ch>

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

P.S: Documentation has not been modified yet, I will submit in the v2 (if any).

Vasileios Amoiridis (1):
  drivers: bootcount: Add support for FAT filesystem

 doc/README.bootcount              | 12 ++++----
 drivers/bootcount/Kconfig         | 49 +++++++++++++++++++++++--------
 drivers/bootcount/Makefile        |  2 +-
 drivers/bootcount/bootcount_ext.c | 18 ++++++++----
 4 files changed, 56 insertions(+), 25 deletions(-)


base-commit: c0ea27bccfb7d2d37fd36806ac2a2f7389099420
-- 
2.34.1



More information about the U-Boot mailing list