diff options
author | Samuel Holland <samuel@sholland.org> | 2021-10-08 08:17:17 +0300 |
---|---|---|
committer | Andre Przywara <andre.przywara@arm.com> | 2021-10-12 11:49:09 +0300 |
commit | ea261fdeb23d54ee17a5e5a95cf35f97180deb76 (patch) | |
tree | 44d15efbbbf0e06537bcf09fd9063859f40e5086 /configs | |
parent | 526c4f2e43bb61b849817ed069607dd2c475a17c (diff) | |
download | u-boot-ea261fdeb23d54ee17a5e5a95cf35f97180deb76.tar.xz |
sunxi: Only initialize legacy I2C when enabled
CONFIG_SPL_I2C is the wrong symbol to use here. It is the top-level
Kconfig symbol (not specific to either legacy or DM I2C), whereas the
i2c_init() function is specific to legacy I2C. This change fixes a
build failure when enabling SPL_I2C but not SPL_SYS_I2C_LEGACY.
Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'configs')
0 files changed, 0 insertions, 0 deletions