Skip to content
Commit 2d572ede authored by Nishanth Menon's avatar Nishanth Menon Committed by Tom Rini
Browse files

power: regulator: Kconfig: add a dependency for POWER_SUPPORT for SPL



power/regulator will not be built if just CONFIG_SPL_DM_REGULATOR is
enabled. It needs CONFIG_SPL_POWER_SUPPORT to be enabled as well.

For example, if we just need a GPIO regulator in SPL:
CONFIG_DM_REGULATOR=y
CONFIG_SPL_DM_REGULATOR=y
CONFIG_DM_REGULATOR_GPIO=y
CONFIG_SPL_DM_REGULATOR_GPIO=y

Will not suffice, since the entire regulator build for SPL depends on
CONFIG_SPL_POWER_SUPPORT. Elaborate that information in the Kconfig
dependency.

Signed-off-by: default avatarNishanth Menon <nm@ti.com>
Reviewed-by: default avatarJaehoon Chung <jh80.chung@samsung.com>
parent 76fde138
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment