[U-Boot] [PATCH 1/2] dm: pci: MIGRATION: Add migration plan for PCI

Add a migration plan for PCI which is an important subsystem in U-Boot.
Signed-off-by: Simon Glass sjg@chromium.org ---
Makefile | 10 ++++++++++ doc/driver-model/MIGRATION.txt | 10 ++++++++++ 2 files changed, 20 insertions(+)
diff --git a/Makefile b/Makefile index 5683714947f..4923722f82d 100644 --- a/Makefile +++ b/Makefile @@ -947,6 +947,16 @@ ifeq ($(CONFIG_LIBATA)$(CONFIG_DM_SCSI)$(CONFIG_MVSATA_IDE),y) @echo "See doc/driver-model/MIGRATION.txt for more info." @echo "====================================================" endif +ifeq ($(CONFIG_PCI),y) +ifneq ($(CONFIG_DM_PCI),y) + @echo >&2 "===================== WARNING ======================" + @echo >&2 "This board does not use CONFIG_DM_PCI Please update" + @echo >&2 "the board to use CONFIG_DM_PCI 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 "===================== WARNING ======================" @echo "CONFIG_OF_EMBED is enabled. This option should only" diff --git a/doc/driver-model/MIGRATION.txt b/doc/driver-model/MIGRATION.txt index dce4aa3e1dc..03a2cae7976 100644 --- a/doc/driver-model/MIGRATION.txt +++ b/doc/driver-model/MIGRATION.txt @@ -82,3 +82,13 @@ Partially converted: -- Jagan Teki jagan@openedev.com 03/14/2018 + + +CONFIG_DM_PCI +------------- +Deadline: 2019.07 + +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.04 rerelease. +

Add a migration plan for video which is an important subsystem in U-Boot.
Signed-off-by: Simon Glass sjg@chromium.org ---
Makefile | 10 ++++++++++ doc/driver-model/MIGRATION.txt | 8 ++++++++ 2 files changed, 18 insertions(+)
diff --git a/Makefile b/Makefile index 4923722f82d..4b5022a53c7 100644 --- a/Makefile +++ b/Makefile @@ -957,6 +957,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 "===================== WARNING ======================" @echo "CONFIG_OF_EMBED is enabled. This option should only" diff --git a/doc/driver-model/MIGRATION.txt b/doc/driver-model/MIGRATION.txt index 03a2cae7976..dba3f9fe307 100644 --- a/doc/driver-model/MIGRATION.txt +++ b/doc/driver-model/MIGRATION.txt @@ -92,3 +92,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.04 rerelease.
+ +CONFIG_DM_VIDEO +--------------- +Deadline: 2019.07 + +The PCI 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.04 release.

On Sun, Dec 16, 2018 at 9:30 PM Simon Glass sjg@chromium.org wrote:
Add a migration plan for video which is an important subsystem in U-Boot.
Signed-off-by: Simon Glass sjg@chromium.org
Makefile | 10 ++++++++++ doc/driver-model/MIGRATION.txt | 8 ++++++++ 2 files changed, 18 insertions(+)
diff --git a/Makefile b/Makefile index 4923722f82d..4b5022a53c7 100644 --- a/Makefile +++ b/Makefile @@ -957,6 +957,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 "===================== WARNING ======================" @echo "CONFIG_OF_EMBED is enabled. This option should only" diff --git a/doc/driver-model/MIGRATION.txt b/doc/driver-model/MIGRATION.txt index 03a2cae7976..dba3f9fe307 100644 --- a/doc/driver-model/MIGRATION.txt +++ b/doc/driver-model/MIGRATION.txt @@ -92,3 +92,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.04 rerelease.
+CONFIG_DM_VIDEO +--------------- +Deadline: 2019.07
+The PCI subsystem has supported driver model since early 2016. Maintainers
This is probably cut&paste and should say something like 'The video subsystem' (not PCI)?
Regards, Simon
+should submit patches switching over to using CONFIG_DM_VIDEO and other base
+driver model options in time for inclusion in the 2019.04 release.
2.20.0.405.gbc1bbc6f85-goog

On Mon, Dec 17, 2018 at 07:00:10AM +0100, Simon Goldschmidt wrote:
On Sun, Dec 16, 2018 at 9:30 PM Simon Glass sjg@chromium.org wrote:
Add a migration plan for video which is an important subsystem in U-Boot.
Signed-off-by: Simon Glass sjg@chromium.org
Makefile | 10 ++++++++++ doc/driver-model/MIGRATION.txt | 8 ++++++++ 2 files changed, 18 insertions(+)
diff --git a/Makefile b/Makefile index 4923722f82d..4b5022a53c7 100644 --- a/Makefile +++ b/Makefile @@ -957,6 +957,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 "===================== WARNING ======================" @echo "CONFIG_OF_EMBED is enabled. This option should only" diff --git a/doc/driver-model/MIGRATION.txt b/doc/driver-model/MIGRATION.txt index 03a2cae7976..dba3f9fe307 100644 --- a/doc/driver-model/MIGRATION.txt +++ b/doc/driver-model/MIGRATION.txt @@ -92,3 +92,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.04 rerelease.
+CONFIG_DM_VIDEO +--------------- +Deadline: 2019.07
+The PCI subsystem has supported driver model since early 2016. Maintainers
This is probably cut&paste and should say something like 'The video subsystem' (not PCI)?
Right, so v2? :)

On Mon, Dec 17, 2018 at 2:01 AM Simon Glass sjg@chromium.org wrote:
Add a migration plan for video which is an important subsystem in U-Boot.
Signed-off-by: Simon Glass sjg@chromium.org
Makefile | 10 ++++++++++ doc/driver-model/MIGRATION.txt | 8 ++++++++ 2 files changed, 18 insertions(+)
diff --git a/Makefile b/Makefile index 4923722f82d..4b5022a53c7 100644 --- a/Makefile +++ b/Makefile @@ -957,6 +957,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."
Many of the subsystems would have same release version for migrations, would better to have next release of v2019.07

On Tue, Dec 18, 2018 at 09:30:34PM +0530, Jagan Teki wrote:
On Mon, Dec 17, 2018 at 2:01 AM Simon Glass sjg@chromium.org wrote:
Add a migration plan for video which is an important subsystem in U-Boot.
Signed-off-by: Simon Glass sjg@chromium.org
Makefile | 10 ++++++++++ doc/driver-model/MIGRATION.txt | 8 ++++++++ 2 files changed, 18 insertions(+)
diff --git a/Makefile b/Makefile index 4923722f82d..4b5022a53c7 100644 --- a/Makefile +++ b/Makefile @@ -957,6 +957,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."
Many of the subsystems would have same release version for migrations, would better to have next release of v2019.07
I'm fine with a number of features having the same deadline.
participants (4)
-
Jagan Teki
-
Simon Glass
-
Simon Goldschmidt
-
Tom Rini