Re: [PATCH v2 04/12] sunxi: Only initialize legacy I2C when enabled

2021-10-12 Thread Andre Przywara
On Fri, 8 Oct 2021 00:17:17 -0500 Samuel Holland wrote: > 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

[PATCH v2 04/12] sunxi: Only initialize legacy I2C when enabled

2021-10-07 Thread Samuel Holland
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