summaryrefslogtreecommitdiffstats
path: root/drivers/power/regulator/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-01-21 19:43:55 -0700
committerSimon Glass <sjg@chromium.org>2016-01-21 20:42:35 -0700
commit1f2b4b06ae327ea899d63b1dd0d12751b9ac850b (patch)
tree8392621cf24ab111c7b8382bd161b9064d357346 /drivers/power/regulator/Makefile
parentd178a1c5b2b3d47a6380b7990a8a3f44b1cafe24 (diff)
downloadblackbird-obmc-uboot-1f2b4b06ae327ea899d63b1dd0d12751b9ac850b.tar.gz
blackbird-obmc-uboot-1f2b4b06ae327ea899d63b1dd0d12751b9ac850b.zip
dm: power: Allow regulators to be omitted from SPL
For some boards the pmic interface is useful but the regulator interface (which comes with it) is too large. Allow them to be separated such that SPL can decide which it needs. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/power/regulator/Makefile')
-rw-r--r--drivers/power/regulator/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/power/regulator/Makefile b/drivers/power/regulator/Makefile
index 0d18c2b1db..1590d8557e 100644
--- a/drivers/power/regulator/Makefile
+++ b/drivers/power/regulator/Makefile
@@ -5,11 +5,11 @@
# SPDX-License-Identifier: GPL-2.0+
#
-obj-$(CONFIG_DM_REGULATOR) += regulator-uclass.o
+obj-$(CONFIG_$(SPL_)DM_REGULATOR) += regulator-uclass.o
obj-$(CONFIG_REGULATOR_ACT8846) += act8846.o
obj-$(CONFIG_DM_REGULATOR_MAX77686) += max77686.o
obj-$(CONFIG_DM_REGULATOR_PFUZE100) += pfuze100.o
-obj-$(CONFIG_DM_REGULATOR_FIXED) += fixed.o
+obj-$(CONFIG_$(SPL_)DM_REGULATOR_FIXED) += fixed.o
obj-$(CONFIG_REGULATOR_RK808) += rk808.o
obj-$(CONFIG_REGULATOR_S5M8767) += s5m8767.o
obj-$(CONFIG_DM_REGULATOR_SANDBOX) += sandbox.o
OpenPOWER on IntegriCloud