[PATCH v2 17/22] elf: Only use network environment-variables if net enabled
Jerome Forissier
jerome.forissier at linaro.org
Mon May 5 14:37:24 CEST 2025
On 5/1/25 03:04, Simon Glass wrote:
> If there is no network support it doesn't make sense to try to read
> these variables. Add a condition to handle this.
>
> This is needed so that env_get_ip() is not called when it is no-longer
> a static inline, but included in net/ code.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> (no changes since v1)
>
> cmd/elf.c | 41 ++++++++++++++++++++++-------------------
> 1 file changed, 22 insertions(+), 19 deletions(-)
[...]
Acked-by: Jerome Forissier <jerome.forissier at linaro.org>
Thanks,
--
Jerome
More information about the U-Boot
mailing list