summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-02-06 01:40:20 +0300
committerTom Rini <trini@konsulko.com>2023-02-10 15:41:39 +0300
commitf00d58010de5cc79511cffaebb52eb90b31e2293 (patch)
tree027132a4f3311bc9182eafdab37d60cbe5322713
parent00ba40fa3e507fd5bba9cb0fde71f17e3ecbb4c6 (diff)
downloadu-boot-f00d58010de5cc79511cffaebb52eb90b31e2293.tar.xz
Correct SPL use of NETDEVICES
This converts 1 usage of this option to the non-SPL form, since there is no SPL_NETDEVICES defined in Kconfig Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--net/bootp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bootp.c b/net/bootp.c
index cae041988d..8b1a4ae2ef 100644
--- a/net/bootp.c
+++ b/net/bootp.c
@@ -1078,7 +1078,7 @@ static void dhcp_handler(uchar *pkt, unsigned dest, struct in_addr sip,
#endif /* CONFIG_SYS_BOOTFILE_PREFIX */
dhcp_packet_process_options(bp);
if (CONFIG_IS_ENABLED(EFI_LOADER) &&
- CONFIG_IS_ENABLED(NETDEVICES))
+ IS_ENABLED(CONFIG_NETDEVICES))
efi_net_set_dhcp_ack(pkt, len);
#if defined(CONFIG_SERVERIP_FROM_PROXYDHCP)