]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Correct SPL use of NETDEVICES
authorSimon Glass <sjg@chromium.org>
Sun, 5 Feb 2023 22:40:20 +0000 (15:40 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 10 Feb 2023 12:41:39 +0000 (07:41 -0500)
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>
net/bootp.c

index cae041988db253aa71427f6076f16df79197f64d..8b1a4ae2ef8a52b1fd4e0fac3aeacf1093c4dfb8 100644 (file)
@@ -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)