From 9af4a0c8a6ffb34e968bdcb8bcaf8d97610e53b3 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Fri, 14 Oct 2022 07:50:19 -0400 Subject: [PATCH] core: Enable DM by default There are no longer any platforms which do not enable DM, move this to a def_bool y and remove the check in the Makefile. Cc: Simon Glass Signed-off-by: Tom Rini Reviewed-by: Simon Glass --- Makefile | 8 -------- drivers/core/Kconfig | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/Makefile b/Makefile index 3866cc62f9..7cdd31f772 100644 --- a/Makefile +++ b/Makefile @@ -1137,14 +1137,6 @@ ifneq ($(CONFIG_SPL_FIT_GENERATOR),) @echo >&2 "to binman instead, to avoid the proliferation of" @echo >&2 "arch-specific scripts with no tests." @echo >&2 "====================================================" -endif -ifneq ($(CONFIG_DM),y) - @echo >&2 "===================== WARNING ======================" - @echo >&2 "This board does not use CONFIG_DM. CONFIG_DM will be" - @echo >&2 "compulsory starting with the v2020.01 release." - @echo >&2 "Failure to update may result in board removal." - @echo >&2 "See doc/develop/driver-model/migration.rst for more info." - @echo >&2 "====================================================" endif $(call deprecated,CONFIG_WDT,DM watchdog,v2019.10,\ $(CONFIG_WATCHDOG)$(CONFIG_HW_WATCHDOG)) diff --git a/drivers/core/Kconfig b/drivers/core/Kconfig index c9bf5de433..0dc442b921 100644 --- a/drivers/core/Kconfig +++ b/drivers/core/Kconfig @@ -1,7 +1,7 @@ menu "Generic Driver Options" config DM - bool "Enable Driver Model" + def_bool y help This config option enables Driver Model. This brings in the core support, including scanning of platform data on start-up. If -- 2.39.5