diff options
| author | Tom Rini <[email protected]> | 2022-10-14 07:50:19 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-10-21 13:47:56 -0400 |
| commit | 9af4a0c8a6ffb34e968bdcb8bcaf8d97610e53b3 (patch) | |
| tree | 24f9484afecd8577f324ef1c78bdf141db164ffd | |
| parent | f35e37cffd6e57c614ec9de0923ee5d1cff1077f (diff) | |
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 <[email protected]>
Signed-off-by: Tom Rini <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
| -rw-r--r-- | Makefile | 8 | ||||
| -rw-r--r-- | drivers/core/Kconfig | 2 |
2 files changed, 1 insertions, 9 deletions
@@ -1138,14 +1138,6 @@ ifneq ($(CONFIG_SPL_FIT_GENERATOR),) @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)) $(call deprecated,CONFIG_DM_I2C,I2C drivers,v2022.04,$(CONFIG_SYS_I2C_LEGACY)) diff --git a/drivers/core/Kconfig b/drivers/core/Kconfig index c9bf5de4332..0dc442b921c 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 |
