diff options
author | Simon Glass <sjg@chromium.org> | 2021-08-08 12:20:22 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-09-04 12:26:02 -0400 |
commit | 39f09140a1aa6d8f5575c73661aa002a1d87ef54 (patch) | |
tree | 6a2a4fc15dd6451a5f009480383f6deac2edb57e | |
parent | a7ebc6925b43c9488c421218cbbcb243e6420720 (diff) | |
download | u-boot-39f09140a1aa6d8f5575c73661aa002a1d87ef54.zip u-boot-39f09140a1aa6d8f5575c73661aa002a1d87ef54.tar.gz u-boot-39f09140a1aa6d8f5575c73661aa002a1d87ef54.tar.bz2 |
Makefile: Move drivers/dma/ into drivers/Makefile
This rule should not be in the top-level Makefile. Move it, making use
of the new LEGACY_DMA Kconfig.
Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | drivers/Makefile | 3 | ||||
-rw-r--r-- | drivers/dma/Kconfig | 1 |
3 files changed, 3 insertions, 2 deletions
@@ -813,7 +813,6 @@ libs-y += fs/ libs-y += net/ libs-y += disk/ libs-y += drivers/ -libs-y += drivers/dma/ libs-y += drivers/gpio/ libs-y += drivers/net/ libs-y += drivers/net/phy/ diff --git a/drivers/Makefile b/drivers/Makefile index 9d113de..01d6bf5 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -5,6 +5,8 @@ obj-$(CONFIG_$(SPL_TPL_)BUTTON) += button/ obj-$(CONFIG_$(SPL_TPL_)CACHE) += cache/ obj-$(CONFIG_$(SPL_TPL_)CLK) += clk/ obj-$(CONFIG_$(SPL_TPL_)DM) += core/ +obj-$(CONFIG_$(SPL_TPL_)DMA) += dma/ +obj-$(CONFIG_$(SPL_TPL_)DMA_LEGACY) += dma/ obj-$(CONFIG_$(SPL_TPL_)DFU) += dfu/ obj-$(CONFIG_$(SPL_TPL_)GPIO) += gpio/ obj-$(CONFIG_$(SPL_TPL_)DRIVERS_MISC) += misc/ @@ -49,7 +51,6 @@ obj-$(CONFIG_SPL_POWER) += power/ power/pmic/ obj-$(CONFIG_SPL_POWER) += power/regulator/ obj-$(CONFIG_SPL_POWER_DOMAIN) += power/domain/ obj-$(CONFIG_SPL_DM_RESET) += reset/ -obj-$(CONFIG_SPL_DMA) += dma/ obj-$(CONFIG_SPL_ETH) += net/ obj-$(CONFIG_SPL_ETH) += net/phy/ obj-$(CONFIG_SPL_USB_ETHER) += net/phy/ diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index ff5b834..bbeec79 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -56,6 +56,7 @@ config TI_EDMA3 config APBH_DMA bool "Support APBH DMA" depends on MX23 || MX28 || MX6 || MX7 || IMX8 || IMX8M + select DMA_LEGACY help Enable APBH DMA driver. |