]> git.dujemihanovic.xyz Git - u-boot.git/commit
power: Tidy up #undef of CONFIG_DM_PMIC
authorSimon Glass <sjg@chromium.org>
Sun, 8 Aug 2021 18:20:25 +0000 (12:20 -0600)
committerTom Rini <trini@konsulko.com>
Sat, 4 Sep 2021 16:26:02 +0000 (12:26 -0400)
commit7abf178bb815df7d7e1f6c5db202e02ae7d9489f
tree6e9399995d9e905fbdb8e9e9de11053c719d36b0
parentb2f9bac0e703631b12f1e40c1a8b15345923a29a
power: Tidy up #undef of CONFIG_DM_PMIC

Add a proper Kconfig option for SPL so we can remove the hack in some of
the board config files.

This involves adding CONFIG_SPL_DM_PMIC to some of the configs as well
as updateing the Makefile rule for PMIC_RK8XX to exclude SPL.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
[trini: Add SPL_PMIC_RK8XX, enable when needed, handle undef of
        CONFIG_DM_PMIC_PFUZE100 as well]
Signed-off-by: Tom Rini <trini@konsulko.com>
20 files changed:
configs/imx8mm-cl-iot-gate_defconfig
configs/imx8mm_beacon_defconfig
configs/imx8mm_evk_defconfig
configs/imx8mm_venice_defconfig
configs/imx8mn_evk_defconfig
configs/nanopi-r2s-rk3328_defconfig
configs/odroid-go2_defconfig
configs/puma-rk3399_defconfig
configs/roc-cc-rk3328_defconfig
configs/rock-pi-e-rk3328_defconfig
configs/rock64-rk3328_defconfig
configs/tinker-rk3288_defconfig
configs/tinker-s-rk3288_defconfig
configs/verdin-imx8mm_defconfig
drivers/power/pmic/Kconfig
drivers/power/pmic/Makefile
include/configs/imx8mp_evk.h
include/configs/imx8mq_evk.h
include/configs/imx8mq_phanbell.h
include/configs/pico-imx8mq.h