Skip to content

Commit

Permalink
dm: MIGRATION: Add migration plan for DM_MMC
Browse files Browse the repository at this point in the history
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 <[email protected]>
Cc: Jaehoon Chung <[email protected]>
Signed-off-by: Tom Rini <[email protected]>
Reviewed-by: Simon Goldschmidt <[email protected]>
Reviewed-by: Philipp Tomsich <[email protected]>
  • Loading branch information
trini committed Dec 4, 2018
1 parent 0a3d59e commit 1cb5d5d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -919,6 +919,16 @@ ifeq ($(CONFIG_DM_I2C_COMPAT)$(CONFIG_SANDBOX),y)
@echo "(possibly in a subsequent patch in your series)"
@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
Expand Down
9 changes: 9 additions & 0 deletions doc/driver-model/MIGRATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
----------
Expand Down

0 comments on commit 1cb5d5d

Please sign in to comment.