From: Tom Rini Date: Thu, 29 Nov 2018 14:12:55 -0500 Subject: [U-Boot] [PATCHv2 2/4] dm: MIGRATION: Add migration plan for DM_USB In-Reply-To: <1543518777-16208-1-git-send-email-trini@konsulko.com> References: <1543518777-16208-1-git-send-email-trini@konsulko.com> Message-ID: <1543518777-16208-2-git-send-email-trini@konsulko.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de As much of the USB system has been migrated to DM now, formalize a deadline for migration. Cc: Marek Vasut Cc: Simon Glass Signed-off-by: Tom Rini --- Changes in v2: - Note that failure to migration may lead to removal. --- Makefile | 8 ++++++++ doc/driver-model/MIGRATION.txt | 10 ++++++++++ 2 files changed, 18 insertions(+) diff --git a/Makefile b/Makefile index 0ab48f9ac97f..c8e90566e37a 100644 --- a/Makefile +++ b/Makefile @@ -928,6 +928,14 @@ ifneq ($(CONFIG_DM_MMC)$(CONFIG_OF_CONTROL)$(CONFIG_BLK),yyy) @echo "See doc/driver-model/MIGRATION.txt for more info." @echo "====================================================" endif +ifneq ($(CONFIG_DM_USB)$(CONFIG_OF_CONTROL)$(CONFIG_BLK),yyy) + @echo "===================== WARNING ======================" + @echo "This board does not use CONFIG_DM_USB. Please update" + @echo "the board to use CONFIG_DM_USB before the v2019.07 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 @# 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 71c26571828a..0b763f72a453 100644 --- a/doc/driver-model/MIGRATION.txt +++ b/doc/driver-model/MIGRATION.txt @@ -15,6 +15,16 @@ 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_DM_USB +------------- + +Status: In progress +Deadline: 2019.07 + +The subsystem itself has been converted along with many of the host controller +and maintainers should submit patches switching over to using CONFIG_DM_USB and +other base driver model options in time for inclusion in the 2019.07 rerelease. + CONFIG_BLK ---------- -- 2.7.4