From: Simon Schwarz Date: Wed, 28 Sep 2011 05:00:27 +0000 (+0000) Subject: SPL: Add DMA library X-Git-Tag: v2011.12-rc1~343^2~30 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3a0d60c504a0e4506a4460bef029b23c10fb1a03;p=oweals%2Fu-boot.git SPL: Add DMA library Adding a DMA library to the SPL. It is used if CONFIG_SPL_DMA_SUPPORT is defined. Signed-off-by: Simon Schwarz Signed-off-by: Sandeep Paulraj --- diff --git a/doc/README.SPL b/doc/README.SPL index d53ef9c2c2..b4500fc42b 100644 --- a/doc/README.SPL +++ b/doc/README.SPL @@ -62,3 +62,4 @@ CONFIG_SPL_FAT_SUPPORT (fs/fat/libfat.o) CONFIG_SPL_LIBGENERIC_SUPPORT (lib/libgeneric.o) CONFIG_SPL_POWER_SUPPORT (drivers/power/libpower.o) CONFIG_SPL_NAND_SUPPORT (drivers/mtd/nand/libnand.o) +CONFIG_SPL_DMA_SUPPORT (drivers/dma/libdma.o) diff --git a/spl/Makefile b/spl/Makefile index 91dd11a45e..ed1f7701c5 100644 --- a/spl/Makefile +++ b/spl/Makefile @@ -54,6 +54,7 @@ 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_NAND_SUPPORT) += drivers/mtd/nand/libnand.o +LIBS-$(CONFIG_SPL_DMA_SUPPORT) += drivers/dma/libdma.o ifeq ($(SOC),omap3) LIBS-y += $(CPUDIR)/omap-common/libomap-common.o