ANDROID: GKI: enable hidden configs for DMA

Add hidden configs to ASYNC_TX_ENABLE_CHANNEL_SWITCH so they are
enabled for loadable DMA modules built out-of-tree

Bug: 177807056
Signed-off-by: Adrian-CJ Hung <adrian-cj.hung@mediatek.com>
Change-Id: I36866ad4d93eab9a826928ac8f0dc8cac84c232c
Signed-off-by: Giuliano Procida <gprocida@google.com>
(cherry picked from commit 0dc97b664f)
This commit is contained in:
Adrian-CJ Hung
2021-04-28 22:24:36 +08:00
parent 1c290618a3
commit 194fc9ea8a

View File

@@ -217,6 +217,13 @@ config GKI_HIDDEN_ETHERNET_CONFIGS
Dummy config option used to enable the hidden Ethernet PHYLINK
configs, required by various ethernet devices.
config GKI_HIDDEN_DMA_CONFIGS
bool "Hidden DMA configuration needed for GKI"
select ASYNC_TX_ENABLE_CHANNEL_SWITCH
help
Dummy config option used to enable the hidden DMA configs,
required by various SoC platforms.
# Atrocities needed for
# a) building GKI modules in separate tree, or
# b) building drivers that are not modularizable
@@ -247,6 +254,8 @@ config GKI_HACKS_TO_FIX
select GKI_HIDDEN_PHY_CONFIGS
select GKI_HIDDEN_MM_CONFIGS
select GKI_HIDDEN_ETHERNET_CONFIGS
select GKI_HIDDEN_DMA_CONFIGS
help
Dummy config option used to enable core functionality used by
modules that may not be selectable in this config.