public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v4 0/3] efi_vars: Implement SPI Flash storage for EFI
@ 2026-01-14 15:15 Michal Simek
  2026-01-14 15:15 ` [PATCH v4 1/3] efi_var_file: refactor to move buffer functions Michal Simek
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Michal Simek @ 2026-01-14 15:15 UTC (permalink / raw)
  To: u-boot, git
  Cc: Gabriel Dalimonte, Heinrich Schuchardt, Ilias Apalodimas,
	Jonathan Humphreys, Raymond Mao, Shantur Rathore, Simon Glass,
	Tom Rini, Ying-Chun Liu (PaulLiu)


This is updated series based on v3 version sent here
https://lore.kernel.org/all/20231126220836.374956-1-i@shantur.com/

that's why I am continuing on v4 instead of starting from scratch.

Tested on kv260 with saving variables to location where User MTD partition
is.
CONFIG_EFI_VARIABLE_SF_STORE=y
CONFIG_EFI_RT_VOLATILE_STORE=y
CONFIG_EFI_VARIABLE_SF_OFFSET=0x22a0000

Thanks,
Michal

Changes in v4:
- New patch based on review comments from v3
- use unify methods for reading/writing variable

Changes in v3:
- Fixed compiler warnings.

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

Michal Simek (1):
  efi_var: Unify read/write access helper function

Shantur Rathore (2):
  efi_var_file: refactor to move buffer functions
  efi_vars: Implement SPI Flash store

 include/efi_variable.h          | 18 +++----
 lib/efi_loader/Kconfig          | 26 +++++++++-
 lib/efi_loader/Makefile         |  3 +-
 lib/efi_loader/efi_var_common.c | 44 ++++++++++++++++
 lib/efi_loader/efi_var_file.c   | 65 ++---------------------
 lib/efi_loader/efi_var_sf.c     | 91 +++++++++++++++++++++++++++++++++
 lib/efi_loader/efi_variable.c   | 16 ++++--
 7 files changed, 187 insertions(+), 76 deletions(-)
 create mode 100644 lib/efi_loader/efi_var_sf.c

-- 
2.43.0

base-commit: 4aa15db6ff8b2bbdcdb082e547967bf4a96fee52
branch: master-next-test

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2026-01-23 14:15 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-14 15:15 [PATCH v4 0/3] efi_vars: Implement SPI Flash storage for EFI Michal Simek
2026-01-14 15:15 ` [PATCH v4 1/3] efi_var_file: refactor to move buffer functions Michal Simek
2026-01-14 15:15 ` [PATCH v4 2/3] efi_var: Unify read/write access helper function Michal Simek
2026-01-14 15:15 ` [PATCH v4 3/3] efi_vars: Implement SPI Flash store Michal Simek
2026-01-15  7:55   ` Ilias Apalodimas
2026-01-15 10:01     ` Peter Robinson
2026-01-15 10:08       ` Ilias Apalodimas
2026-01-22 12:18   ` Ilias Apalodimas
2026-01-22 12:32     ` Michal Simek
2026-01-23  7:40       ` Ilias Apalodimas
2026-01-23  8:22         ` Michal Simek
2026-01-23 13:01           ` Ilias Apalodimas
2026-01-23 14:15             ` Michal Simek
2026-01-14 18:24 ` [PATCH v4 0/3] efi_vars: Implement SPI Flash storage for EFI E Shattow
2026-01-15  2:40   ` Peter Robinson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox