diff options
author | Simon Glass <sjg@chromium.org> | 2021-07-11 06:14:35 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-07-28 21:29:37 +0300 |
commit | 59e11ebf841454a0991731f1ee6ae4eafd9cb235 (patch) | |
tree | d5c05a5f67669912c31a9522d45a833c979315dd /configs/orangepi_pc2_defconfig | |
parent | 6f7abf64508b329c8b1d642d002ac950aee68f88 (diff) | |
download | u-boot-59e11ebf841454a0991731f1ee6ae4eafd9cb235.tar.xz |
i2c: Create a new Kconfig for I2C
At present we have CONFIG_SPL_I2C but not CONFIG_I2C. The reason
CONFIG_I2C is not strictly necessary is that:
a) We have CONFIG_SYS_I2C_LEGACY and CONFIG_DM_I2C for the two possible
i2c stacks
b) In U-Boot proper, we always build drivers/i2c/ regardless of the
options
Still, it is better to have CONFIG_I2C - it makes U-Boot proper similar to
SPL/TPL, so we can (in a future commit) simplify the Makefile rules.
Enable it by default, since as above, we have separate options
(SYS_I2C_LEGACY and DM_I2C) to control whether it is 'really' enabled.
Once we have migrated I2C to driver model, we can drop SYS_I2C_LEGACY and
make DM_I2C become I2C. For now, this lets us simplify the Makefile rules.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'configs/orangepi_pc2_defconfig')
0 files changed, 0 insertions, 0 deletions