summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-07-11 06:14:33 +0300
committerTom Rini <trini@konsulko.com>2021-07-28 21:29:37 +0300
commit19c969ba37aec564445b6f24b8d85918b12ba6be (patch)
treeef3d32df756998d3571ffbdeb1247361437943c3 /Makefile
parent69d9eda4da13ecabb8002fce0dded4bba3bff9f9 (diff)
downloadu-boot-19c969ba37aec564445b6f24b8d85918b12ba6be.tar.xz
i2c: Fix the migration warning
While there is a CONFIG_I2C it does not really mean anything and is defined by only a few dozen boards. This should key off CONFIG_SYS_I2C_LEGACY instead. Fix it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b370ee2089..4f386ed47b 100644
--- a/Makefile
+++ b/Makefile
@@ -1128,7 +1128,7 @@ endif
$(call deprecated,CONFIG_WDT,DM watchdog,v2019.10,\
$(CONFIG_WATCHDOG)$(CONFIG_HW_WATCHDOG))
$(call deprecated,CONFIG_DM_ETH,Ethernet drivers,v2020.07,$(CONFIG_NET))
- $(call deprecated,CONFIG_DM_I2C,I2C drivers,v2022.04,$(CONFIG_I2C))
+ $(call deprecated,CONFIG_DM_I2C,I2C drivers,v2022.04,$(CONFIG_SYS_I2C_LEGACY))
@# 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.