]> git.sur5r.net Git - u-boot/commitdiff
dm: power: Allow use of regulators in SPL
authorSimon Glass <sjg@chromium.org>
Tue, 23 Jun 2015 21:39:02 +0000 (15:39 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 21 Jul 2015 23:39:27 +0000 (17:39 -0600)
This functionality may be useful for setting up regulators early during
boot.

Signed-off-by: Simon Glass <sjg@chromium.org>
scripts/Makefile.spl

index 6b32618a61a79e88aece0f9ed1b5de622701d87c..59d7fc843f7754f0232d190d40a236b1e94b1c30 100644 (file)
@@ -67,6 +67,7 @@ libs-y += fs/
 libs-$(CONFIG_SPL_LED_SUPPORT) += drivers/led/
 libs-$(CONFIG_SPL_LIBGENERIC_SUPPORT) += lib/
 libs-$(CONFIG_SPL_POWER_SUPPORT) += drivers/power/ drivers/power/pmic/
+libs-$(CONFIG_SPL_POWER_SUPPORT) += drivers/power/regulator/
 libs-$(CONFIG_SPL_MTD_SUPPORT) += drivers/mtd/
 libs-$(CONFIG_SPL_NAND_SUPPORT) += drivers/mtd/nand/
 libs-$(CONFIG_SPL_DRIVERS_MISC_SUPPORT) += drivers/misc/