
26 Nov
2024
26 Nov
'24
6:40 a.m.
On Tue, Nov 26, 2024 at 10:33:30AM +0530, Vignesh Raghavendra wrote:
Hello Vignesh,
[...]
- /*
* Since the EFI Capsule support is enabled only for Serial Flash,
* update the "dfu_alt_info" environment variable only if the
* interface happens to be "sf" (Serial Flash).
*/
- if (IS_ENABLED(CONFIG_EFI_HAVE_CAPSULE_SUPPORT) &&
(strcmp(interface, "sf") == 0))
IIUC, EFI_HAVE_CAPSULE_SUPPORT is probably only functional at U-Boot proper and not at SPL (I dont see any SPL_EFI_* options), so would this work instead?
if (CONFIG_IS_ENABLED(EFI_HAVE_CAPSULE_SUPPORT) { ... }
This works! Thank you for the suggestion.
Regards, Siddharth.