summaryrefslogtreecommitdiff
path: root/drivers/power/pmic/Makefile
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2018-01-10 13:20:46 +0800
committerStefano Babic <sbabic@denx.de>2018-02-04 12:00:58 +0100
commita35332fa28038ddf7b2695d4531fcf027e7d8a4d (patch)
treecc7397c6b367756dc3abcfae71b4e1bb3184ff48 /drivers/power/pmic/Makefile
parent52df705c9669e8933c625bdbba204b448bbecc22 (diff)
downloadu-boot-a35332fa28038ddf7b2695d4531fcf027e7d8a4d.tar.gz
power: pmic/regulator allow dm be omitted by SPL
Allow the dm driver be omitted by SPL. Signed-off-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Simon Glass <sjg@chromium.org> Cc: Jaehoon Chung <jh80.chung@samsung.com> Cc: Stefano Babic <sbabic@denx.de> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'drivers/power/pmic/Makefile')
-rw-r--r--drivers/power/pmic/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/pmic/Makefile b/drivers/power/pmic/Makefile
index 7d6c583d34..fc19fdc701 100644
--- a/drivers/power/pmic/Makefile
+++ b/drivers/power/pmic/Makefile
@@ -8,7 +8,7 @@
obj-$(CONFIG_DM_PMIC) += pmic-uclass.o
obj-$(CONFIG_DM_PMIC_MAX77686) += max77686.o
obj-$(CONFIG_DM_PMIC_MAX8998) += max8998.o
-obj-$(CONFIG_DM_PMIC_PFUZE100) += pfuze100.o
+obj-$(CONFIG_$(SPL_)DM_PMIC_PFUZE100) += pfuze100.o
obj-$(CONFIG_PMIC_S2MPS11) += s2mps11.o
obj-$(CONFIG_DM_PMIC_SANDBOX) += sandbox.o i2c_pmic_emul.o
obj-$(CONFIG_PMIC_ACT8846) += act8846.o