sandbox: Tidy up I2C options
authorSimon Glass <sjg@chromium.org>
Wed, 22 Feb 2023 16:34:06 +0000 (09:34 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 2 Mar 2023 22:45:58 +0000 (17:45 -0500)
commitc7d53f027b6c07db951250e64277ca11db546ba0
tree483912f44c560d773c18042c6c6e097de66495c2
parent9ee2f356288641d61899c678cc441760660f0e2c
sandbox: Tidy up I2C options

At present we enable the sandbox I2C driver for all builds. Add a separate
Kconfig option to control this, so that it can be disabled in TPL, where
it is not needed.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heiko Schocher <hs@denx.de>
drivers/i2c/Kconfig