On Thursday 25 March 2021 12:00:14 Simon Glass wrote: > This probably should have been done a while back since it is a core > system. Add a migration deadline of later this year, to catch the > stragglers. > > Signed-off-by: Simon Glass <s...@chromium.org> > > --- > > Makefile | 11 +++++++++++ > doc/driver-model/migration.rst | 8 ++++++++ > 2 files changed, 19 insertions(+) > > diff --git a/Makefile b/Makefile > index b72d8d20c08..f60c7901a5b 100644 > --- a/Makefile > +++ b/Makefile > @@ -1152,6 +1152,17 @@ 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_NET),) > +ifneq ($(CONFIG_DM_ETH),y) > + @echo >&2 "===================== WARNING ======================" > + @echo >&2 "This board does not use CONFIG_DM_I2C (Driver Model" > + @echo >&2 "for I2C drivers). Please update the board to use" > + @echo >&2 "CONFIG_DM_I2C before the v2021.10 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 > diff --git a/doc/driver-model/migration.rst b/doc/driver-model/migration.rst > index 2284e8a6f70..77a799a2700 100644 > --- a/doc/driver-model/migration.rst > +++ b/doc/driver-model/migration.rst > @@ -99,3 +99,11 @@ Deadline: 2020.07 > The network subsystem has supported the driver model since early 2015. > Maintainers should submit patches switching over to using CONFIG_DM_ETH and > other base driver model options in time for inclusion in the 2020.07 release. > + > +CONFIG_DM_I2C > +------------- > +Deadline: 2021.10 > + > +The network subsystem has supported the driver model since early 2015. > +Maintainers should submit patches switching over to using CONFIG_DM_I2C and
So network or i2c? Or both subsystems? I'm somehow lost here. > +other base driver model options in time for inclusion in the 2021.10 release. > -- > 2.31.0.291.g576ba9dcdaf-goog >