[PATCH v2 1/5] board: ti: am64x: evm: Set "dfu_alt_info" only if interface is Serial Flash

Siddharth Vadapalli s-vadapalli at ti.com
Tue Nov 26 06:40:31 CET 2024


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.


More information about the U-Boot mailing list