@@ -57,6 +57,11 @@ config I2C_CROS_EC_TUNNEL
I2C or LPC). Some Chromebooks use this when the hardware design
does not allow direct access to the main PMIC from the AP.
+config SPL_I2C_CROS_EC_TUNNEL
+ def_bool n
+ help
+ Dummy option to ensure that this feature is not enabled in SPL.
+
config I2C_CROS_EC_LDO
bool "Provide access to LDOs on the Chrome OS EC"
depends on CROS_EC
@@ -71,6 +76,11 @@ config I2C_CROS_EC_LDO
avoid duplicating the logic in the TPS65090 regulator driver for
enabling/disabling an LDO.
+config SPL_I2C_CROS_EC_LDO
+ def_bool n
+ help
+ Dummy option to ensure that this feature is not enabled in SPL.
+
config I2C_SET_DEFAULT_BUS_NUM
bool "Set default I2C bus number"
depends on DM_I2C
At present we rely on this not existing to avoid building various EC features. But with the new split configs this does not work. Add separates Kconfigs instead. Signed-off-by: Simon Glass <sjg@chromium.org> --- drivers/i2c/Kconfig | 10 ++++++++++ 1 file changed, 10 insertions(+)