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. Reviewed-by: Casey Connolly <[email protected]> Signed-off-by: Balaji Selvanathan <[email protected]> --- configs/qcom_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig index 7d4a2b589aa..40ee45e8d42 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: 0a55b098d6f5f6bafa84fc2f18b433dd167bf729 change-id: 20261009-efi-runtime-b9f07cc48993 Best regards, -- Balaji Selvanathan <[email protected]>
