[PATCH v2 0/3] efi: vars: Implement SPI Flash storage

Shantur Rathore i at shantur.com
Fri Nov 24 12:35:49 CET 2023


With this patch series we implement SPI Flash storage for EFI
variables.

Changes in v2:
- Refactored efi_var_file to move common parts out as requested
- Changed ifdefs to use CONFIG_IS_DEFINED
- Fixed typos

Shantur Rathore (3):
  efi_var_file: refactor to move buffer functions
  efi_vars: Implement SPI Flash store
  defconfig: rockpro64: Enable SF EFI var store

 configs/rockpro64-rk3399_defconfig |   2 +
 include/efi_variable.h             |  26 +++++++
 lib/efi_loader/Kconfig             |  25 ++++++
 lib/efi_loader/Makefile            |   3 +-
 lib/efi_loader/efi_var_common.c    | 109 ++++++++++++++++++++++++++
 lib/efi_loader/efi_var_file.c      | 121 -----------------------------
 lib/efi_loader/efi_var_sf.c        |  91 ++++++++++++++++++++++
 lib/efi_loader/efi_variable.c      |  17 +++-
 8 files changed, 270 insertions(+), 124 deletions(-)
 create mode 100644 lib/efi_loader/efi_var_sf.c

-- 
2.40.1



More information about the U-Boot mailing list