Skip to contentSkip to conversation

dm: MIGRATION: Add migration plan for WDT (DM watchdog support)

PATCH New Stefan Roese 2 participants 2 messages May 9, 2019 – May 10, 2019 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dm: MIGRATION: Add migration plan for WDT (DM watchdog support)

As much of the watchdog system has been migrated to DM now, formalize a deadline for migration.

Please note that the old CONFIG_HW_WATCHDOG macro should be removed completely at some point.

Cc Michal Simek <[email protected]>
Cc Simon Glass <[email protected]>
Cc Tom Rini <[email protected]>
---
 Makefile | 11 +++++++++++
 1 file changed, 11 insertions(+)
Makefile +11 -0
index 9fb90c0779..fa47b068ac 100644
@@ -1014,6 +1014,17 @@ ifneq ($(CONFIG_DM_SPI_FLASH)$(CONFIG_OF_CONTROL),yy)
 	@echo >&2 "See doc/driver-model/MIGRATION.txt for more info."
 	@echo >&2 "===================================================="
 endif
+endif
+ifneq ($(CONFIG_WATCHDOG)$(CONFIG_HW_WATCHDOG),)
+ifneq ($(CONFIG_WDT),y)
+	@echo >&2 "===================== WARNING ======================"
+	@echo >&2 "This board does not use CONFIG_WDT (DM watchdog support)."
+	@echo >&2 "Please update the board to use CONFIG_WDT before the"
+	@echo >&2 "v2019.10 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
 	@# Check that this build does not use CONFIG options that we do not
 	@# know about unless they are in Kconfig. All the existing CONFIG
Signature · 1 line
2.21.0
#1 lore raw

PATCH 1/1 dm: MIGRATION: Add migration plan for WDT (DM watchdog support)

Quoted 10 lines · Stefan Roese

As much of the watchdog system has been migrated to DM now, formalize a deadline for migration.

Please note that the old CONFIG_HW_WATCHDOG macro should be removed completely at some point.

Cc Michal Simek <[email protected]>
Cc Simon Glass <[email protected]>
Cc Tom Rini <[email protected]>

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190510/7a23b885/attachment.sig>