summaryrefslogtreecommitdiff
path: root/net/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-04-25 08:31:15 +0300
committerTom Rini <trini@konsulko.com>2022-04-25 17:00:04 +0300
commit4fd8d077cb6986385fa8af1b9b11f0fb2cdeb609 (patch)
tree79c9a038fcdb1bfbc27f06a98988117ab00d967a /net/Makefile
parentb8aa463e9ba96e66fc24e0d7cd0e07e9bc7bc839 (diff)
downloadu-boot-4fd8d077cb6986385fa8af1b9b11f0fb2cdeb609.tar.xz
bootstd: ethernet: Add a bootdev driver
Add a bootdev driver for Ethernet. It can use the PXE boot mechanism to locate a file, added later. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'net/Makefile')
-rw-r--r--net/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index fb3eba840f..6c812502d3 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -12,6 +12,7 @@ obj-$(CONFIG_CMD_DNS) += dns.o
obj-$(CONFIG_DM_DSA) += dsa-uclass.o
ifdef CONFIG_DM_ETH
obj-$(CONFIG_NET) += eth-uclass.o
+obj-$(CONFIG_$(SPL_TPL_)BOOTDEV_ETH) += eth_bootdev.o
else
obj-$(CONFIG_NET) += eth_legacy.o
endif