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

Simon Glass sjg at chromium.org
Fri Dec 28 21:03:07 UTC 2018


Add a migration plan for PCI which is an important subsystem in U-Boot.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v3:
- Fix the rerelease typo

Changes in v2: None

 Makefile                       | 10 ++++++++++
 doc/driver-model/MIGRATION.txt | 10 ++++++++++
 2 files changed, 20 insertions(+)

diff --git a/Makefile b/Makefile
index a8461dd611d..af086fa30d4 100644
--- a/Makefile
+++ b/Makefile
@@ -946,6 +946,16 @@ ifeq ($(CONFIG_LIBATA)$(CONFIG_DM_SCSI)$(CONFIG_MVSATA_IDE),y)
 	@echo >&2 "See doc/driver-model/MIGRATION.txt for more info."
 	@echo >&2 "===================================================="
 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 >&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 dce4aa3e1dc..5c91bd1df69 100644
--- a/doc/driver-model/MIGRATION.txt
+++ b/doc/driver-model/MIGRATION.txt
@@ -82,3 +82,13 @@ Partially converted:
 --
 Jagan Teki <jagan at 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.07 release.
+
-- 
2.20.1.415.g653613c723-goog



More information about the U-Boot mailing list