ANDROID: GKI: Add CONFIG_RPMSG to gki_defconfig

RPMSG is used on various SoC platforms downstream. Enable the subsystem
in the gki_defconfig. This also enables RPMSG_CHAR.

Bug: 146449535
Change-Id: Ib4a6e5a438681a9835398cdb8917045191e1fbe6
Signed-off-by: Alistair Delva <adelva@google.com>
This commit is contained in:
Alistair Delva 2020-03-27 10:18:41 -07:00
parent 669d93f855
commit 47ea291ae5
3 changed files with 14 additions and 0 deletions

View File

@ -381,6 +381,7 @@ CONFIG_HWSPINLOCK=y
CONFIG_MAILBOX=y
CONFIG_IOMMU_LIMIT_IOVA_ALIGNMENT=y
CONFIG_ARM_SMMU=y
CONFIG_RPMSG_CHAR=y
CONFIG_QCOM_COMMAND_DB=y
CONFIG_QCOM_RPMH=y
CONFIG_DEVFREQ_GOV_PERFORMANCE=y

View File

@ -323,6 +323,7 @@ CONFIG_STAGING=y
CONFIG_ASHMEM=y
CONFIG_ION=y
CONFIG_ION_SYSTEM_HEAP=y
CONFIG_RPMSG_CHAR=y
CONFIG_PM_DEVFREQ=y
CONFIG_IIO=y
CONFIG_IIO_BUFFER=y

View File

@ -144,6 +144,17 @@ config GKI_HIDDEN_SOC_BUS_CONFIGS
If you are not building a kernel to be used for a variety of SoCs and
out-of-tree drivers, say N here.
config GKI_HIDDEN_RPMSG_CONFIGS
bool "Hidden RPMSG configuration needed for GKI"
select RPMSG
help
Dummy config option used to enable the hidden RPMSG config.
This configuration is usually only selected by another config
option or a combination of them.
If you are not building a kernel to be used for a variety of
out-of-kernel build RPMSG drivers, say N here.
# Atrocities needed for
# a) building GKI modules in separate tree, or
# b) building drivers that are not modularizable
@ -167,6 +178,7 @@ config GKI_HACKS_TO_FIX
select GKI_QCOM_CLKS_CONFIGS
select GKI_HIDDEN_USB_CONFIGS
select GKI_HIDDEN_SOC_BUS_CONFIGS
select GKI_HIDDEN_RPMSG_CONFIGS
help
Dummy config option used to enable core functionality used by
modules that may not be selectable in this config.