Qualcomm boards apply capsule-on-disk updates from U-Boot without the
OS first setting the OsIndications EFI variable that the capsule
runtime normally checks. EFI_IGNORE_OSINDICATIONS makes U-Boot skip
that check so an on-disk capsule is applied at boot.

Set it once in the shared qcom_defconfig so the boards that include it
(qcm6490, qcs615, qcs8300, qcs9100) all pick it up.

Signed-off-by: Balaji Selvanathan <[email protected]>
---
The option defaults to y only while EFI_RT_VOLATILE_STORE is off. This
series depends on "configs: qcom_defconfig: Enable EFI variable runtime
storage" [1], which turns EFI_RT_VOLATILE_STORE on, so the default no
longer applies and it has to be set explicitly. Apply that patch first.

[1] 
https://lore.kernel.org/u-boot/[email protected]/
---
 configs/qcom_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig
index c52f619850d..960c44b1f70 100644
--- a/configs/qcom_defconfig
+++ b/configs/qcom_defconfig
@@ -9,6 +9,7 @@ CONFIG_SYS_LOAD_ADDR=0xA0000000
 # CONFIG_EFI_HAVE_RUNTIME_RESET is not set
 CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y
 CONFIG_EFI_CAPSULE_ON_DISK=y
+CONFIG_EFI_IGNORE_OSINDICATIONS=y
 CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y
 CONFIG_BUTTON_CMD=y
 CONFIG_FIT=y

-- 
2.34.1

Reply via email to