Re: [PATCH v2 17/22] elf: Only use network environment-variables if net enabled

2025-05-05 Thread Jerome Forissier
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-b

[PATCH v2 17/22] elf: Only use network environment-variables if net enabled

2025-04-30 Thread Simon Glass
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 --- (no changes since v1) cmd/elf.