summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorKevin Hilman <khilman@baylibre.com>2021-02-04 11:57:59 -0800
committerKevin Hilman <khilman@baylibre.com>2021-02-04 15:21:54 -0800
commit30f31797fe80307598bc2502bfe2eb19b9bf13fe (patch)
treeefeb8b8b2fdc41cdd676aad01062794e563a038a /init
parent68711db069c072015140484b21f976c8f3c1328e (diff)
ANDROID: GKI: enable networking; add hidden network configs
Drop the explicit disable of CONFIG_ETHERNET from gki_defconfig so wired networking support is enabled by default. Also, when testing GKI with out-of-tree wired networking modules, it was discovered that a few hidden Kconfigs are required. Add them here so out of tree net drivers can be built in a separate tree. Bug: 179406580 Change-Id: Ia66742e514ae1a3c9f8d0ec1d92eb40b68d12ce7 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig.gki10
1 files changed, 10 insertions, 0 deletions
diff --git a/init/Kconfig.gki b/init/Kconfig.gki
index a782550d28ca..dea0ceb987dd 100644
--- a/init/Kconfig.gki
+++ b/init/Kconfig.gki
@@ -185,6 +185,15 @@ config GKI_HIDDEN_HYPERVISOR_CONFIGS
config, required by various SoC platforms. This is usually
selected by XEN or S390.
+config GKI_HIDDEN_NET_CONFIGS
+ bool "Hidden networking configuration needed for GKI"
+ select PAGE_POOL
+ select NET_PTP_CLASSIFY
+ help
+ Dummy config option used to enable the networking hidden
+ config, required by various SoC platforms.
+
+
# Atrocities needed for
# a) building GKI modules in separate tree, or
# b) building drivers that are not modularizable
@@ -211,6 +220,7 @@ config GKI_HACKS_TO_FIX
select GKI_HIDDEN_GPU_CONFIGS
select GKI_HIDDEN_IRQ_CONFIGS
select GKI_HIDDEN_HYPERVISOR_CONFIGS
+ select GKI_HIDDEN_NET_CONFIGS
help
Dummy config option used to enable core functionality used by
modules that may not be selectable in this config.