From 2e0f3241787ead5087e8fe81095e830c48b29b36 Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Sat, 10 Aug 2019 00:10:37 +0200 Subject: network: set timeline for CONFIG_DM_ETH conversion The driver model has been supported for network drivers since 2015. It is time to convert the remaining boards. Set July 2020 as a timeline. Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass Acked-by: Joe Hershberger --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c02accfc26..ae56e47b2c 100644 --- a/Makefile +++ b/Makefile @@ -1025,6 +1025,17 @@ ifneq ($(CONFIG_WDT),y) @echo >&2 "See doc/driver-model/MIGRATION.txt for more info." @echo >&2 "====================================================" endif +endif +ifneq ($(CONFIG_NET),) +ifneq ($(CONFIG_DM_ETH),y) + @echo >&2 "===================== WARNING ======================" + @echo >&2 "This board does not use CONFIG_DM_ETH (Driver Model" + @echo >&2 "for Ethernet drivers). Please update the board to use" + @echo >&2 "CONFIG_DM_ETH before the v2020.07 release. Failure to" + @echo >&2 "update by the deadline may result in board removal." + @echo >&2 "See doc/driver-model/migration.rst for more info." + @echo >&2 "====================================================" +endif endif @# Check that this build does not use CONFIG options that we do not @# know about unless they are in Kconfig. All the existing CONFIG -- cgit v1.2.3