aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-12-28 14:03:07 -0700
committerTom Rini <trini@konsulko.com>2019-01-09 07:13:31 -0500
commit1ce689d95085708cc9dc9a9eefa665fa276a4b6c (patch)
tree16222ee37518a9febe10c5d5a36625bdfe9b41d5
parent358fd21fe7b6e6481a9f5436f2d1a2e4dd754082 (diff)
downloadu-boot-1ce689d95085708cc9dc9a9eefa665fa276a4b6c.zip
u-boot-1ce689d95085708cc9dc9a9eefa665fa276a4b6c.tar.gz
u-boot-1ce689d95085708cc9dc9a9eefa665fa276a4b6c.tar.bz2
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>
-rw-r--r--Makefile10
-rw-r--r--doc/driver-model/MIGRATION.txt10
2 files changed, 20 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index dff72a5..22d0731 100644
--- a/Makefile
+++ b/Makefile
@@ -948,6 +948,16 @@ ifneq ($(CONFIG_DM_SCSI),y)
@echo >&2 "===================================================="
endif
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 183d7f5..c0c9483 100644
--- a/doc/driver-model/MIGRATION.txt
+++ b/doc/driver-model/MIGRATION.txt
@@ -86,3 +86,13 @@ Partially converted:
Jagan Teki <jagan@openedev.com>
12/24/2018
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.
+