public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCHv3 1/4] dm: MIGRATION: Add migration plan for DM_MMC
@ 2018-11-29 23:21 Tom Rini
  2018-11-29 23:21 ` [U-Boot] [PATCHv3 2/4] dm: MIGRATION: Add migration plan for DM_USB Tom Rini
                   ` (4 more replies)
  0 siblings, 5 replies; 19+ messages in thread
From: Tom Rini @ 2018-11-29 23:21 UTC (permalink / raw)
  To: u-boot

Given that at this point the MMC subsystem itself has been migrated
along with a number of subsystem drivers, formalize a deadline for
migration.

Reviewed-by: Simon Glass <sjg@chromium.org>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
---
Changes in v3:
- Ensure CONFIG_MMC is set
Changes in v2:
- Note that failure to migration may lead to removal.
---
 Makefile                       | 10 ++++++++++
 doc/driver-model/MIGRATION.txt |  9 +++++++++
 2 files changed, 19 insertions(+)

diff --git a/Makefile b/Makefile
index a4b1d1db5241..53046e763e0b 100644
--- a/Makefile
+++ b/Makefile
@@ -920,6 +920,16 @@ ifeq ($(CONFIG_DM_I2C_COMPAT)$(CONFIG_SANDBOX),y)
 	@echo "before sending patches to the mailing list."
 	@echo "===================================================="
 endif
+ifeq ($(CONFIG_MMC),y)
+ifneq ($(CONFIG_DM_MMC)$(CONFIG_OF_CONTROL)$(CONFIG_BLK),yyy)
+	@echo "===================== WARNING ======================"
+	@echo "This board does not use CONFIG_DM_MMC. Please update"
+	@echo "the board to use CONFIG_DM_MMC before the v2019.04 release."
+	@echo "Failure to update by the deadline may result in board removal."
+	@echo "See doc/driver-model/MIGRATION.txt for more info."
+	@echo "===================================================="
+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
 	@# options are whitelisted, so new ones should not be added.
diff --git a/doc/driver-model/MIGRATION.txt b/doc/driver-model/MIGRATION.txt
index 5ebefd608b99..71c26571828a 100644
--- a/doc/driver-model/MIGRATION.txt
+++ b/doc/driver-model/MIGRATION.txt
@@ -5,6 +5,15 @@ U-Boot has been migrating to a new driver model since its introduction in
 2014. This file describes the schedule for deprecation of pre-driver-model
 features.
 
+CONFIG_DM_MMC
+-------------
+
+Status: In progress
+Deadline: 2019.04
+
+The subsystem itself has been converted and maintainers should submit patches
+switching over to using CONFIG_DM_MMC and other base driver model options in
+time for inclusion in the 2019.04 rerelease.
 
 CONFIG_BLK
 ----------
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2018-12-20 21:20 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-29 23:21 [U-Boot] [PATCHv3 1/4] dm: MIGRATION: Add migration plan for DM_MMC Tom Rini
2018-11-29 23:21 ` [U-Boot] [PATCHv3 2/4] dm: MIGRATION: Add migration plan for DM_USB Tom Rini
2018-12-04  4:49   ` [U-Boot] [U-Boot, PATCHv3, " Tom Rini
2018-12-05  7:14     ` Stefan Roese
2018-12-05 12:23       ` Tom Rini
2018-12-07  0:05         ` Chris Packham
2018-12-07  1:19           ` Tom Rini
2018-11-29 23:21 ` [U-Boot] [PATCHv3 3/4] dm: MIGRATION: Add migration plan for CONFIG_SATA Tom Rini
2018-12-04  4:49   ` [U-Boot] [U-Boot, PATCHv3, " Tom Rini
2018-11-29 23:21 ` [U-Boot] [PATCHv3 4/4] dm: MIGRATION: Update migration plan for BLK Tom Rini
2018-12-04  4:49   ` [U-Boot] [U-Boot, PATCHv3, " Tom Rini
2018-11-30  8:10 ` [U-Boot] [PATCHv3 1/4] dm: MIGRATION: Add migration plan for DM_MMC Simon Goldschmidt
2018-11-30  8:50   ` Philipp Tomsich
2018-12-04  4:49 ` [U-Boot] [U-Boot, PATCHv3, " Tom Rini
2018-12-13  9:45   ` Simon Goldschmidt
2018-12-14  3:10     ` Simon Glass
2018-12-14  5:14       ` Simon Goldschmidt
2018-12-20 21:17         ` Simon Glass
2018-12-20 21:20           ` Simon Goldschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox