From 3e87ffcffbdf1b0883e4c76d411ffa604ba69c57 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Fri, 28 Dec 2018 14:03:08 -0700 Subject: [PATCH] dm: video: lcd: MIGRATION: Add migration plan for video Add a migration plan for video which is an important subsystem in U-Boot. Signed-off-by: Simon Glass --- Makefile | 10 ++++++++++ doc/driver-model/MIGRATION.txt | 8 ++++++++ 2 files changed, 18 insertions(+) diff --git a/Makefile b/Makefile index 22d0731082..c4d0c3002e 100644 --- a/Makefile +++ b/Makefile @@ -958,6 +958,16 @@ ifneq ($(CONFIG_DM_PCI),y) @echo >&2 "====================================================" endif endif +ifneq ($(CONFIG_LCD)$(CONFIG_VIDEO),) +ifneq ($(CONFIG_DM_VIDEO),y) + @echo >&2 "===================== WARNING ======================" + @echo >&2 "This board does not use CONFIG_DM_VIDEO Please update" + @echo >&2 "the board to use CONFIG_DM_VIDEO before the v2019.07 release." + @echo >&2 "Failure to update by the deadline may result in board removal." + @echo >&2 "See doc/driver-model/MIGRATION.txt for more info." + @echo >&2 "====================================================" +endif +endif ifeq ($(CONFIG_OF_EMBED),y) @echo >&2 "===================== WARNING ======================" @echo >&2 "CONFIG_OF_EMBED is enabled. This option should only" diff --git a/doc/driver-model/MIGRATION.txt b/doc/driver-model/MIGRATION.txt index c0c9483b13..957529202b 100644 --- a/doc/driver-model/MIGRATION.txt +++ b/doc/driver-model/MIGRATION.txt @@ -96,3 +96,11 @@ The PCI subsystem has supported driver model since mid 2015. Maintainers should submit patches switching over to using CONFIG_DM_PCI and other base driver model options in time for inclusion in the 2019.07 release. + +CONFIG_DM_VIDEO +--------------- +Deadline: 2019.07 + +The video subsystem has supported driver model since early 2016. Maintainers +should submit patches switching over to using CONFIG_DM_VIDEO and other base +driver model options in time for inclusion in the 2019.07 release. -- 2.30.2