i2c: Convert CONFIG_POWER_I2C et al to Kconfig
authorSimon Glass <sjg@chromium.org>
Sun, 8 Aug 2021 18:20:27 +0000 (12:20 -0600)
committerTom Rini <trini@konsulko.com>
Sat, 4 Sep 2021 16:26:02 +0000 (12:26 -0400)
commit9d8665b7091d7d67df7dd31eafe1b54e25f6c3e4
treea433ee15481504deac558c511630d087ec1201b4
parent29d7153ec384e072755e8951a8a33f29372f925c
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 <sjg@chromium.org>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
[trini: More SPL related cleanups, reword commit message]
Signed-off-by: Tom Rini <trini@konsulko.com>
68 files changed:
board/compulab/cl-som-imx7/cl-som-imx7.c
board/freescale/imx8mp_evk/spl.c
board/freescale/imx8mq_evk/spl.c
board/samsung/common/board.c
board/technexion/pico-imx7d/pico-imx7d.c
board/tqc/tqma6/tqma6.c
board/udoo/neo/neo.c
configs/am43xx_evm_qspiboot_defconfig
configs/cl-som-imx7_defconfig
configs/cm_t43_defconfig
configs/gwventana_emmc_defconfig
configs/gwventana_gw5904_defconfig
configs/gwventana_nand_defconfig
configs/hikey_defconfig
configs/imx8mp_evk_defconfig
configs/imx8mq_evk_defconfig
configs/imx8mq_phanbell_defconfig
configs/ls1046ardb_emmc_defconfig
configs/ls1046ardb_qspi_SECURE_BOOT_defconfig
configs/ls1046ardb_qspi_defconfig
configs/ls1046ardb_qspi_spl_defconfig
configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig
configs/ls1046ardb_sdcard_defconfig
configs/ls1046ardb_tfa_SECURE_BOOT_defconfig
configs/ls1046ardb_tfa_defconfig
configs/mx51evk_defconfig
configs/mx53loco_defconfig
configs/mx6sabreauto_defconfig
configs/mx6sabresd_defconfig
configs/novena_defconfig
configs/phycore-imx8mp_defconfig
configs/pico-dwarf-imx7d_defconfig
configs/pico-hobbit-imx7d_defconfig
configs/pico-imx7d_bl33_defconfig
configs/pico-imx7d_defconfig
configs/pico-imx8mq_defconfig
configs/pico-nymph-imx7d_defconfig
configs/pico-pi-imx7d_defconfig
configs/udoo_neo_defconfig
configs/vining_2000_defconfig
configs/warp_defconfig
drivers/power/Kconfig
drivers/power/Makefile
include/configs/am43xx_evm.h
include/configs/cl-som-imx7.h
include/configs/cm_t43.h
include/configs/el6x_common.h
include/configs/gw_ventana.h
include/configs/hikey.h
include/configs/imx8mp_evk.h
include/configs/imx8mq_evk.h
include/configs/imx8mq_phanbell.h
include/configs/ls1046ardb.h
include/configs/mx51evk.h
include/configs/mx53loco.h
include/configs/mx6sabreauto.h
include/configs/mx6sabresd.h
include/configs/novena.h
include/configs/phycore_imx8mp.h
include/configs/pico-imx7d.h
include/configs/pico-imx8mq.h
include/configs/tqma6.h
include/configs/udoo_neo.h
include/configs/vining_2000.h
include/configs/warp.h
include/power/max77686_pmic.h
include/power/pmic.h
scripts/config_whitelist.txt