]> git.dujemihanovic.xyz Git - u-boot.git/commit
power: Rename CONFIG_POWER to CONFIG_POWER_LEGACY
authorSimon Glass <sjg@chromium.org>
Sun, 8 Aug 2021 18:20:26 +0000 (12:20 -0600)
committerTom Rini <trini@konsulko.com>
Sat, 4 Sep 2021 16:26:02 +0000 (12:26 -0400)
commit29d7153ec384e072755e8951a8a33f29372f925c
treeb4ff954c27a2e645593f01811dee4e2823d3bf5c
parent7abf178bb815df7d7e1f6c5db202e02ae7d9489f
power: Rename CONFIG_POWER to CONFIG_POWER_LEGACY

This option is used in pre-driver model code and much of it has never
been converted to driver model.

We want to add a new option to enable power support, so we can use a
simple rule in the Makefile. Rename this one, which is really about
a particular implementation of power.

Also update the pmic.h header file so it either includes the legacy
API or the driver model one.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
34 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
drivers/power/Makefile
drivers/power/regulator/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