diff options
author | Simon Glass <sjg@chromium.org> | 2021-12-18 11:27:29 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-01-12 21:26:59 -0500 |
commit | 6e4a7eaf7d6c9aedafa19aa57553ae44dba5ca0d (patch) | |
tree | 3a8d677b0e1f0038d84aca54986047968e27b007 /Makefile | |
parent | 0797e736d1ad820f889d99cca485dd09d33b785d (diff) | |
download | u-boot-6e4a7eaf7d6c9aedafa19aa57553ae44dba5ca0d.tar.gz |
timer: Add a migration message
Some boards still use the old timer mechanism. Set a deadline for them to
update to driver model. Point to some examples as well.
This needs a bit of a strange rule to avoid an error on some boards.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1129,6 +1129,10 @@ endif $(call deprecated,CONFIG_DM_ETH,Ethernet drivers,v2020.07,$(CONFIG_NET)) $(call deprecated,CONFIG_DM_I2C,I2C drivers,v2022.04,$(CONFIG_SYS_I2C_LEGACY)) $(call deprecated,CONFIG_DM_KEYBOARD,Keyboard drivers,v2022.10,$(CONFIG_KEYBOARD)) + @# CONFIG_SYS_TIMER_RATE has brackets in it for some boards which + @# confuses this rule. Use if() to send just a single character which + @# is enable to tell 'deprecated' that one of these symbols exists + $(call deprecated,CONFIG_TIMER,Timer drivers,v2023.01,$(if $(strip $(CONFIG_SYS_TIMER_RATE)$(CONFIG_SYS_TIMER_COUNTER)),x)) @# 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. |