[U-Boot] [PATCH] power: regulator: Makefile: Remove SPL tag for REGULATOR_GPIO

Lokesh Vutla lokeshvutla at ti.com
Wed Oct 17 10:45:10 UTC 2018


From: Keerthy <j-keerthy at ti.com>

There is no SPL specific Kconfig symbol defined for DM_REGULATOR_GPIO but
Makefile uses a SPL tag for building gpio-regulator. This makes
gpio-regulator can never be built for SPL. Fix it by dropping the
SPL tag in Makefile. CONFIG_SPL_POWER_SUPPORT is used for including
regulator support in SPL.

Signed-off-by: Keerthy <j-keerthy at ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla at ti.com>
---
 drivers/power/regulator/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/power/regulator/Makefile b/drivers/power/regulator/Makefile
index 16208af069..ba71504f8c 100644
--- a/drivers/power/regulator/Makefile
+++ b/drivers/power/regulator/Makefile
@@ -12,7 +12,7 @@ obj-$(CONFIG_DM_REGULATOR_MAX77686) += max77686.o
 obj-$(CONFIG_$(SPL_)DM_PMIC_PFUZE100) += pfuze100.o
 obj-$(CONFIG_REGULATOR_PWM) += pwm_regulator.o
 obj-$(CONFIG_$(SPL_)DM_REGULATOR_FIXED) += fixed.o
-obj-$(CONFIG_$(SPL_)DM_REGULATOR_GPIO) += gpio-regulator.o
+obj-$(CONFIG_DM_REGULATOR_GPIO) += gpio-regulator.o
 obj-$(CONFIG_REGULATOR_RK8XX) += rk8xx.o
 obj-$(CONFIG_DM_REGULATOR_S2MPS11) += s2mps11_regulator.o
 obj-$(CONFIG_REGULATOR_S5M8767) += s5m8767.o
-- 
2.19.1



More information about the U-Boot mailing list