On Wednesday 17 October 2018 04:15 PM, Lokesh Vutla wrote:
From: Keerthy <j-keer...@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-keer...@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvu...@ti.com>

This is breaking omap3_logic defconfig as DM_REGULATOR_GPIO is selected for SPL but SPL_GPIO support is not enabled. We should add a Kconfig symbol for fixing it. Will repost the patch.

Thanks and regards,
Lokesh

---
  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

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to