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 <s...@chromium.org> > --- > > (no changes since v1) > > cmd/elf.c | 41 ++++++++++++++++++++++------------------- > 1 file changed, 22 insertions(+), 19 deletions(-) [...] Acked-by: Jerome Forissier <jerome.foriss...@linaro.org> Thanks, -- Jerome
- [PATCH v2 11/22] synology: Include env.h to permit readin... Simon Glass
- [PATCH v2 13/22] freescale: Include env.h to permit readi... Simon Glass
- [PATCH v2 15/22] liebherr: Include env.h to permit readin... Simon Glass
- Re: [PATCH v2 15/22] liebherr: Include env.h to perm... Lukasz Majewski
- [PATCH v2 16/22] technexion: Include env.h to permit read... Simon Glass
- [PATCH v2 12/22] amlogic: Include env.h to permit reading... Simon Glass
- [PATCH v2 14/22] google: Include env.h to permit reading ... Simon Glass
- [PATCH v2 17/22] elf: Only use network environment-variab... Simon Glass
- Re: [PATCH v2 17/22] elf: Only use network environme... Jerome Forissier
- [PATCH v2 18/22] net: Include byteorder in net6.h Simon Glass
- [PATCH v2 19/22] net: Include string.h in net-legacy.h Simon Glass
- Re: [PATCH v2 19/22] net: Include string.h in net-le... Jerome Forissier
- [PATCH v2 21/22] net: dc2114x: Include env.h to permit re... Simon Glass
- [PATCH v2 22/22] net: Move env_get_ip() out of the header... Simon Glass
- [PATCH v2 20/22] net: Include env.h in pcap.c Simon Glass
- Re: [PATCH v2 00/22] Deal with exfat versus byteorder Marek Vasut