ANDROID: GKI: Kconfig.gki: Add GKI_HIDDEN_ETHERNET_CONFIGS

Add a hidden config option to select PHYLINK which is widely used by
ethernet devices. This also removes PHYLIB=y from gki_defconfig because
it is selected by CONFIG_PHYLINK.

Bug: 190472243
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Change-Id: I590f7576daddab6786d19ffc789e51816770e5e3
This commit is contained in:
Chanho Park 2021-06-08 22:53:40 +09:00 committed by Greg Kroah-Hartman
parent 79258e28eb
commit 79f44ef795
3 changed files with 8 additions and 2 deletions

View File

@ -314,7 +314,6 @@ CONFIG_WIREGUARD=y
CONFIG_IFB=y CONFIG_IFB=y
CONFIG_TUN=y CONFIG_TUN=y
CONFIG_VETH=y CONFIG_VETH=y
CONFIG_PHYLIB=y
CONFIG_PPP=y CONFIG_PPP=y
CONFIG_PPP_BSDCOMP=y CONFIG_PPP_BSDCOMP=y
CONFIG_PPP_DEFLATE=y CONFIG_PPP_DEFLATE=y

View File

@ -287,7 +287,6 @@ CONFIG_WIREGUARD=y
CONFIG_IFB=y CONFIG_IFB=y
CONFIG_TUN=y CONFIG_TUN=y
CONFIG_VETH=y CONFIG_VETH=y
CONFIG_PHYLIB=y
CONFIG_PPP=y CONFIG_PPP=y
CONFIG_PPP_BSDCOMP=y CONFIG_PPP_BSDCOMP=y
CONFIG_PPP_DEFLATE=y CONFIG_PPP_DEFLATE=y

View File

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