From 946ecab4871b9b51732eea6d25bf3060957ec688 Mon Sep 17 00:00:00 2001 From: Yiwen Liu Date: Wed, 24 Mar 2021 14:38:31 +0800 Subject: [PATCH] defconfig: initial corfup defconfig Corfup: SM4350, initial configs cloned from Ibiza. Change-Id: I6dabff415665c81c03c74718ab5f3ae39ed5a5fe Signed-off-by: Yiwen Liu Reviewed-on: https://gerrit.mot.com/1908449 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Hongshu Lou Reviewed-by: Huosheng Liao Submit-Approved: Jira Key --- .../ext_config/debug-holi-corfup.config | 25 +++++++++++++++++++ .../ext_config/factory-holi-corfup.config | 16 ++++++++++++ .../vendor/ext_config/moto-holi-corfup.config | 20 +++++++++++++++ drivers/soc/qcom/Kconfig | 8 ++++++ 4 files changed, 69 insertions(+) create mode 100644 arch/arm64/configs/vendor/ext_config/debug-holi-corfup.config create mode 100644 arch/arm64/configs/vendor/ext_config/factory-holi-corfup.config create mode 100644 arch/arm64/configs/vendor/ext_config/moto-holi-corfup.config diff --git a/arch/arm64/configs/vendor/ext_config/debug-holi-corfup.config b/arch/arm64/configs/vendor/ext_config/debug-holi-corfup.config new file mode 100644 index 000000000000..13f71e03c466 --- /dev/null +++ b/arch/arm64/configs/vendor/ext_config/debug-holi-corfup.config @@ -0,0 +1,25 @@ +# +# Please avoid changing the Qualcomm defconfig files and use this file to +# add any Motorola-specific configuration changes that are applicable to +# userdebug, eng, and user builds. +# +# After building, a list of all of the config files that are used can be found +# at the top of: +# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig +# +# The actual output of the kernel configuration system can be found at: +# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config +# +# You can check the .config file to verify that your configuration option is +# being set as expected. +# + +# CONFIG_CGROUP_DEBUG is not set +# CONFIG_CLEANCACHE is not set +# CONFIG_CMA_ALLOW_WRITE_DEBUGFS is not set +# CONFIG_CMA_DEBUG is not set +# CONFIG_PREEMPTIRQ_EVENTS is not set +# CONFIG_PREEMPT_TRACER is not set +# CONFIG_PROVE_LOCKING is not set +# CONFIG_RCU_TORTURE_TEST is not set +# CONFIG_TEST_USER_COPY is not set diff --git a/arch/arm64/configs/vendor/ext_config/factory-holi-corfup.config b/arch/arm64/configs/vendor/ext_config/factory-holi-corfup.config new file mode 100644 index 000000000000..830e8a22f610 --- /dev/null +++ b/arch/arm64/configs/vendor/ext_config/factory-holi-corfup.config @@ -0,0 +1,16 @@ +# +# Please avoid changing the Qualcomm defconfig files and use this file to +# add any Motorola-specific configuration changes that are applicable to +# userdebug, eng, and user builds. +# +# After building, a list of all of the config files that are used can be found +# at the top of: +# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig +# +# The actual output of the kernel configuration system can be found at: +# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config +# +# You can check the .config file to verify that your configuration option is +# being set as expected. +# + diff --git a/arch/arm64/configs/vendor/ext_config/moto-holi-corfup.config b/arch/arm64/configs/vendor/ext_config/moto-holi-corfup.config new file mode 100644 index 000000000000..4b9f14dfcb0d --- /dev/null +++ b/arch/arm64/configs/vendor/ext_config/moto-holi-corfup.config @@ -0,0 +1,20 @@ +# +# Please avoid changing the Qualcomm defconfig files and use this file to +# add any Motorola-specific configuration changes that are applicable to +# userdebug, eng, and user builds. +# +# After building, a list of all of the config files that are used can be found +# at the top of: +# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig +# +# The actual output of the kernel configuration system can be found at: +# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config +# +# You can check the .config file to verify that your configuration option is +# being set as expected. +# +CONFIG_CORFUP_DTB=y +# CONFIG_NFC_QTI_I2C is not set +CONFIG_FS_EPOLL_WAKEUP_DEBUG=y +CONFIG_ZRAM_WRITEBACK=y +# CONFIG_THERMAL_STATISTICS is not set diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig index b81685e71f3a..eea8e02fabae 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -28,6 +28,14 @@ config IBIZA_DTB Only include IBIZA specific DTBs to limit the number that get built during kernel compilation. +config CORFUP_DTB + depends on ARCH_QCOM + default n + bool "CORFUP DTBs" + help + Only include CORFUP specific DTBs to limit the number that + get built during kernel compilation. + config QCOM_AOSS_QMP tristate "Qualcomm AOSS Driver" depends on ARCH_QCOM || COMPILE_TEST