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 <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
f35e37cffd
commit
9af4a0c8a6
2 changed files with 1 additions and 9 deletions
8
Makefile
8
Makefile
|
@ -1137,14 +1137,6 @@ ifneq ($(CONFIG_SPL_FIT_GENERATOR),)
|
||||||
@echo >&2 "to binman instead, to avoid the proliferation of"
|
@echo >&2 "to binman instead, to avoid the proliferation of"
|
||||||
@echo >&2 "arch-specific scripts with no tests."
|
@echo >&2 "arch-specific scripts with no tests."
|
||||||
@echo >&2 "===================================================="
|
@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
|
endif
|
||||||
$(call deprecated,CONFIG_WDT,DM watchdog,v2019.10,\
|
$(call deprecated,CONFIG_WDT,DM watchdog,v2019.10,\
|
||||||
$(CONFIG_WATCHDOG)$(CONFIG_HW_WATCHDOG))
|
$(CONFIG_WATCHDOG)$(CONFIG_HW_WATCHDOG))
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
menu "Generic Driver Options"
|
menu "Generic Driver Options"
|
||||||
|
|
||||||
config DM
|
config DM
|
||||||
bool "Enable Driver Model"
|
def_bool y
|
||||||
help
|
help
|
||||||
This config option enables Driver Model. This brings in the core
|
This config option enables Driver Model. This brings in the core
|
||||||
support, including scanning of platform data on start-up. If
|
support, including scanning of platform data on start-up. If
|
||||||
|
|
Loading…
Reference in a new issue