From: Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>
To: Sumit Garg <sumit.garg@kernel.org>,
u-boot-qcom@groups.io, u-boot@lists.denx.de
Cc: Casey Connolly <casey.connolly@linaro.org>,
Neil Armstrong <neil.armstrong@linaro.org>,
Tom Rini <trini@konsulko.com>,
Varadarajan Narayanan <varadarajan.narayanan@oss.qualcomm.com>,
Aswin Murugan <aswin.murugan@oss.qualcomm.com>,
Quentin Schulz <quentin.schulz@cherry.de>,
Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>
Subject: [PATCH] configs: qcom_defconfig: Enable EFI variable runtime storage
Date: Mon, 20 Jul 2026 15:55:52 +0530 [thread overview]
Message-ID: <20260720-runtime-v1-1-7f904b4cb3ed@oss.qualcomm.com> (raw)
Allow SetVariable at runtime on U-Boot's in-RAM EFI variable
store so the OS can write EFI variables via efivarfs. With this
enabled U-Boot also advertises EFI_RT_SUPPORTED_SET_VARIABLE and
exposes the RTStorageVolatile and VarToFile variables, which
userspace tools such as efivar use to persist runtime changes
back to the ubootefi.var store on the ESP across reboots.
EFI_RT_VOLATILE_STORE depends on EFI_VARIABLE_FILE_STORE; select
it explicitly so the option is not silently dropped if that
default changes.
Signed-off-by: Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>
---
configs/qcom_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig
index c52f619850d..01c70c25c66 100644
--- a/configs/qcom_defconfig
+++ b/configs/qcom_defconfig
@@ -10,6 +10,8 @@ CONFIG_SYS_LOAD_ADDR=0xA0000000
CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y
CONFIG_EFI_CAPSULE_ON_DISK=y
CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y
+CONFIG_EFI_VARIABLE_FILE_STORE=y
+CONFIG_EFI_RT_VOLATILE_STORE=y
CONFIG_BUTTON_CMD=y
CONFIG_FIT=y
CONFIG_FIT_VERBOSE=y
---
base-commit: fdfe2ec48d5c1c2ed03073d73edd3fdd3fe1ffa1
change-id: 20260720-runtime-4b0d467f5b73
Best regards,
--
Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>
next reply other threads:[~2026-07-20 10:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-20 10:25 Balaji Selvanathan [this message]
2026-07-20 13:14 ` [PATCH] configs: qcom_defconfig: Enable EFI variable runtime storage Casey Connolly
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260720-runtime-v1-1-7f904b4cb3ed@oss.qualcomm.com \
--to=balaji.selvanathan@oss.qualcomm.com \
--cc=aswin.murugan@oss.qualcomm.com \
--cc=casey.connolly@linaro.org \
--cc=neil.armstrong@linaro.org \
--cc=quentin.schulz@cherry.de \
--cc=sumit.garg@kernel.org \
--cc=trini@konsulko.com \
--cc=u-boot-qcom@groups.io \
--cc=u-boot@lists.denx.de \
--cc=varadarajan.narayanan@oss.qualcomm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox