diff options
author | Simon Glass | 2021-08-08 12:20:25 -0600 |
---|---|---|
committer | Tom Rini | 2021-09-04 12:26:02 -0400 |
commit | 7abf178bb815df7d7e1f6c5db202e02ae7d9489f (patch) | |
tree | 6e9399995d9e905fbdb8e9e9de11053c719d36b0 /configs/rock-pi-e-rk3328_defconfig | |
parent | b2f9bac0e703631b12f1e40c1a8b15345923a29a (diff) |
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>
Diffstat (limited to 'configs/rock-pi-e-rk3328_defconfig')
-rw-r--r-- | configs/rock-pi-e-rk3328_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/rock-pi-e-rk3328_defconfig b/configs/rock-pi-e-rk3328_defconfig index 6aeecf88309..520ad8aa883 100644 --- a/configs/rock-pi-e-rk3328_defconfig +++ b/configs/rock-pi-e-rk3328_defconfig @@ -72,6 +72,7 @@ CONFIG_PINCTRL=y CONFIG_SPL_PINCTRL=y CONFIG_DM_PMIC=y CONFIG_PMIC_RK8XX=y +CONFIG_SPL_PMIC_RK8XX=y CONFIG_SPL_DM_REGULATOR=y CONFIG_REGULATOR_PWM=y CONFIG_DM_REGULATOR_FIXED=y |