]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: guard call to tftp_start() with IS_ENABLED(CONFIG_CMD_TFTPBOOT)
authorJerome Forissier <jerome.forissier@linaro.org>
Mon, 2 Sep 2024 13:25:11 +0000 (15:25 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 10 Sep 2024 19:08:24 +0000 (13:08 -0600)
commit278e9ac8aa7c65e3709483cab5bf4231daea1295
tree59a6f661d6f966e5528c112ab0a9f950b079958e
parentca55cf8104c0dd78aae45fa66dd8400ef1b3d0ac
net: guard call to tftp_start() with IS_ENABLED(CONFIG_CMD_TFTPBOOT)

net_auto_load() cannot call tftp_start() if CONFIG_CMD_TFTPBOOT is
disabled.

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
net/net.c