From 9d8665b7091d7d67df7dd31eafe1b54e25f6c3e4 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 8 Aug 2021 12:20:27 -0600 Subject: i2c: Convert CONFIG_POWER_I2C et al to Kconfig This converts the following to Kconfig: CONFIG_POWER_I2C CONFIG_POWER_LEGACY They are handled at the same time due to a dependency between them. Update the Makefile rule to use legacy power only in U-Boot proper. Unfortunately a separate rule is needed in SPL to be able to build legacy power. Add SPL related symbols for both, to allow for SPL-only usage. Signed-off-by: Simon Glass Reviewed-by: Jaehoon Chung [trini: More SPL related cleanups, reword commit message] Signed-off-by: Tom Rini --- configs/gwventana_emmc_defconfig | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configs/gwventana_emmc_defconfig') diff --git a/configs/gwventana_emmc_defconfig b/configs/gwventana_emmc_defconfig index 45ff04bec53..d1074323daf 100644 --- a/configs/gwventana_emmc_defconfig +++ b/configs/gwventana_emmc_defconfig @@ -102,8 +102,10 @@ CONFIG_MII=y CONFIG_PCI=y CONFIG_PINCTRL=y CONFIG_PINCTRL_IMX6=y +CONFIG_POWER_LEGACY=y CONFIG_DM_REGULATOR=y CONFIG_DM_REGULATOR_FIXED=y +CONFIG_POWER_I2C=y CONFIG_CONS_INDEX=2 CONFIG_DM_SERIAL=y CONFIG_MXC_UART=y -- cgit