Commit 282ed24fb3ca8ddb37e9fb465452267e6a658233
Committed by
Tom Rini
1 parent
1e3966394a
Exists in
smarc_8mq_lf_v2020.04
and in
9 other branches
dm: MIGRATION: Add migration plan for CONFIG_DM
For many sub-systems we already require the driver model to be used. Yet there is still a handful of boards that do not have CONFIG_DM enabled. We should make CONFIG_DM compulsory with release v2020.01 Conversion dates for CONFIG_DM_SPL and CONFIG_DM_TPL are yet to be defined. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
Showing 2 changed files with 18 additions and 0 deletions Side-by-side Diff
Makefile
... | ... | @@ -940,6 +940,14 @@ |
940 | 940 | endif |
941 | 941 | endif |
942 | 942 | endif |
943 | +ifneq ($(CONFIG_DM),y) | |
944 | + @echo >&2 "===================== WARNING ======================" | |
945 | + @echo >&2 "This board does not use CONFIG_DM. CONFIG_DM will be" | |
946 | + @echo >&2 "compulsory starting with the v2020.01 release." | |
947 | + @echo >&2 "Failure to update may result in board removal." | |
948 | + @echo >&2 "See doc/driver-model/migration.rst for more info." | |
949 | + @echo >&2 "====================================================" | |
950 | +endif | |
943 | 951 | ifeq ($(CONFIG_MMC),y) |
944 | 952 | ifneq ($(CONFIG_DM_MMC)$(CONFIG_OF_CONTROL)$(CONFIG_BLK),yyy) |
945 | 953 | @echo >&2 "===================== WARNING ======================" |
doc/driver-model/migration.rst
... | ... | @@ -7,6 +7,16 @@ |
7 | 7 | 2014. This file describes the schedule for deprecation of pre-driver-model |
8 | 8 | features. |
9 | 9 | |
10 | +CONFIG_DM | |
11 | +--------- | |
12 | + | |
13 | +* Status: In progress | |
14 | +* Deadline: 2020.01 | |
15 | + | |
16 | +Starting with the 2010.01 release CONFIG_DM will be enabled for all boards. | |
17 | +This does not concern CONFIG_DM_SPL and CONFIG_DM_TPL. The conversion date for | |
18 | +these configuration items still needs to be defined. | |
19 | + | |
10 | 20 | CONFIG_DM_MMC |
11 | 21 | ------------- |
12 | 22 |