Patchwork [U-Boot,1/6] spl/Makefile: Add drivers/power/pmic/libpmic to CONFIG_SPL_POWER_SUPPORT

login
register
mail settings
Submitter Tom Rini
Date Aug. 30, 2013, 8:28 p.m.
Message ID <1377894526-25517-1-git-send-email-trini@ti.com>
Download mbox | patch
Permalink /patch/271435/
State Accepted
Delegated to: Tom Rini
Headers show

Comments

Tom Rini - Aug. 30, 2013, 8:28 p.m.
We may need to access the PMIC code in SPL, when we have power set.

Signed-off-by: Tom Rini <trini@ti.com>
---
 spl/Makefile |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Tom Rini - Aug. 30, 2013, 8:41 p.m.
On Fri, Aug 30, 2013 at 04:28:41PM -0400, Tom Rini wrote:

> We may need to access the PMIC code in SPL, when we have power set.
> 
> Signed-off-by: Tom Rini <trini@ti.com>

Bah, forgot to pass --subject-prefix 'PATCH v4' to the whole series...

Patch

diff --git a/spl/Makefile b/spl/Makefile
index 339e5e8..65615cb 100644
--- a/spl/Makefile
+++ b/spl/Makefile
@@ -87,7 +87,8 @@  LIBS-$(CONFIG_SPL_SPI_FLASH_SUPPORT) += drivers/mtd/spi/libspi_flash.o
 LIBS-$(CONFIG_SPL_SPI_SUPPORT) += drivers/spi/libspi.o
 LIBS-$(CONFIG_SPL_FAT_SUPPORT) += fs/fat/libfat.o
 LIBS-$(CONFIG_SPL_LIBGENERIC_SUPPORT) += lib/libgeneric.o
-LIBS-$(CONFIG_SPL_POWER_SUPPORT) += drivers/power/libpower.o
+LIBS-$(CONFIG_SPL_POWER_SUPPORT) += drivers/power/libpower.o \
+	drivers/power/pmic/libpmic.o
 LIBS-$(CONFIG_SPL_NAND_SUPPORT) += drivers/mtd/nand/libnand.o
 LIBS-$(CONFIG_SPL_ONENAND_SUPPORT) += drivers/mtd/onenand/libonenand.o
 LIBS-$(CONFIG_SPL_DMA_SUPPORT) += drivers/dma/libdma.o