From: Philipp Tomsich Date: Fri, 29 Sep 2017 17:28:02 +0000 (+0200) Subject: power: spl: add SPL_DM_REGULATOR_FIXED in Kconfig X-Git-Tag: v2017.11-rc1~3^2~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9086eab8fea5f6b41de1f6ab1313f3acf3f3db76;p=u-boot power: spl: add SPL_DM_REGULATOR_FIXED in Kconfig The Makefile already tests for SPL_DM_REGULATOR_FIXED, but Kconfig does not provide it. This adds SPL_DM_REGULATOR_FIXED to Kconfig. Signed-off-by: Philipp Tomsich Reviewed-by: Simon Glass --- diff --git a/drivers/power/regulator/Kconfig b/drivers/power/regulator/Kconfig index 2cfade1cb2..8892fa14e0 100644 --- a/drivers/power/regulator/Kconfig +++ b/drivers/power/regulator/Kconfig @@ -77,6 +77,13 @@ config DM_REGULATOR_FIXED features for fixed value regulators. The driver implements get/set api for enable and get only for voltage value. +config SPL_DM_REGULATOR_FIXED + bool "Enable Driver Model for REGULATOR Fixed value in SPL" + depends on DM_REGULATOR_FIXED + ---help--- + This config enables implementation of driver-model regulator uclass + features for fixed value regulators in SPL. + config DM_REGULATOR_GPIO bool "Enable Driver Model for GPIO REGULATOR" depends on DM_REGULATOR