i2c: Fix the migration warning
authorSimon Glass <sjg@chromium.org>
Sun, 11 Jul 2021 03:14:33 +0000 (21:14 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 28 Jul 2021 18:29:37 +0000 (14:29 -0400)
commit19c969ba37aec564445b6f24b8d85918b12ba6be
treeef3d32df756998d3571ffbdeb1247361437943c3
parent69d9eda4da13ecabb8002fce0dded4bba3bff9f9
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>
Makefile