From fcadaaf1c2f97a7c941f74f7b4ac75c7538d5d2c Mon Sep 17 00:00:00 2001 From: liujg6 Date: Fri, 19 Jun 2020 15:20:18 +0800 Subject: [PATCH] arm/defconfig: cebu: init kernel deconfig add cebu kernel config files enable cebu dtb Change-Id: Ie7b8d3db3211d58353f92173d8b4bbf7f84bea8b Reviewed-on: https://gerrit.mot.com/1630565 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Xiangpo Zhao Submit-Approved: Jira Key --- .../vendor/ext_config/cebu-default.config | 20 +++++++++++++++++++ .../ext_config/debug-bengal-cebu.config | 16 +++++++++++++++ drivers/soc/qcom/Kconfig | 8 ++++++++ 3 files changed, 44 insertions(+) create mode 100644 arch/arm64/configs/vendor/ext_config/cebu-default.config create mode 100644 arch/arm64/configs/vendor/ext_config/debug-bengal-cebu.config diff --git a/arch/arm64/configs/vendor/ext_config/cebu-default.config b/arch/arm64/configs/vendor/ext_config/cebu-default.config new file mode 100644 index 000000000000..5ea9318a5a32 --- /dev/null +++ b/arch/arm64/configs/vendor/ext_config/cebu-default.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_CEBU_DTB=y +# CONFIG_BAT_NTC_10K is not set +CONFIG_PANEL_NOTIFICATIONS=y +# CONFIG_SMB1355_SLAVE_CHARGER is not set +CONFIG_NFC_NQ=y diff --git a/arch/arm64/configs/vendor/ext_config/debug-bengal-cebu.config b/arch/arm64/configs/vendor/ext_config/debug-bengal-cebu.config new file mode 100644 index 000000000000..830e8a22f610 --- /dev/null +++ b/arch/arm64/configs/vendor/ext_config/debug-bengal-cebu.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/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig index cf49de73a903..7b4c39be01e8 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -43,6 +43,14 @@ config BORNEO_DTB Only include Borneo NA specific DTBs to limit the number that get built during kernel compilatio +config CEBU_DTB + depends on ARCH_QCOM + default n + bool "Cebu DTBs" + help + Only include Cebu specific DTBs to limit the number that + get built during kernel compilatio + config QCOM_COMMAND_DB tristate "Qualcomm Command DB" depends on ARCH_QCOM || COMPILE_TEST