summaryrefslogtreecommitdiff
path: root/arch/arm/mach-stm32mp/Makefile
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@foss.st.com>2022-05-20 18:24:45 +0200
committerPatrick Delaunay <patrick.delaunay@foss.st.com>2022-06-17 09:58:21 +0200
commit741090c5107c798ce3b8cd8e62edaf4727e93c6f (patch)
tree5d674118829533898c067fbe1af92d12287f58e1 /arch/arm/mach-stm32mp/Makefile
parentd8b78fd632743066bcf8bb17e08cc89ccea95019 (diff)
downloadu-boot-741090c5107c798ce3b8cd8e62edaf4727e93c6f.tar.gz
arm: stm32mp: add CONFIG_STM32MP15_PWR
Add config CONFIG_STM32MP15_PWR to handle the access to regulators managed by the PWR driver defined in pwr_regulator.c This driver is only used in U-Boot by STM32MP15x family. Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Diffstat (limited to 'arch/arm/mach-stm32mp/Makefile')
-rw-r--r--arch/arm/mach-stm32mp/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-stm32mp/Makefile b/arch/arm/mach-stm32mp/Makefile
index d362104fee..0ffec6e02f 100644
--- a/arch/arm/mach-stm32mp/Makefile
+++ b/arch/arm/mach-stm32mp/Makefile
@@ -21,5 +21,5 @@ obj-$(CONFIG_ARMV7_PSCI) += psci.o
obj-$(CONFIG_TFABOOT) += boot_params.o
endif
-obj-$(CONFIG_$(SPL_)DM_REGULATOR) += pwr_regulator.o
+obj-$(CONFIG_$(SPL_)STM32MP15_PWR) += pwr_regulator.o
obj-$(CONFIG_OF_SYSTEM_SETUP) += fdt.o