]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: Fix compiling SPL when fastboot is enabled
authorSean Anderson <seanga2@gmail.com>
Sat, 14 Oct 2023 20:47:51 +0000 (16:47 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 18 Oct 2023 00:50:52 +0000 (20:50 -0400)
commit7d04986adf299624aba3015515b446c822b475a4
tree4a45fb3057e3b80b9ffbaffe54573b2c84b433bd
parent0bf3fec2798fc8872c5754811fa70dfa973841e9
net: Fix compiling SPL when fastboot is enabled

When fastboot is enabled in U-Boot proper and SPL_NET is enabled, we will
try to (unsuccessfully) reference it in SPL. Fix these linker errors by
conditioning on SPL_UDP/TCP_FUNCTION_FASTBOOT.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
net/Makefile
net/net.c