From 81eec63dad0d4d23b2fb4a0b0a97b74c5c6e90dd Mon Sep 17 00:00:00 2001 From: zhangly19 Date: Wed, 6 May 2020 15:00:53 +0800 Subject: [PATCH] arm/defconfig: borneo: init kernel deconfig add borneo kernel config Change-Id: I58003116f99619025f1033cdf41a1d6fdc0851f3 Reviewed-on: https://gerrit.mot.com/1548517 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Yiwen Liu Reviewed-by: Hongshu Lou Reviewed-by: Wang Wang Submit-Approved: Jira Key --- .../vendor/ext_config/borneo-default.config | 19 +++++++++++++++++++ .../ext_config/debug-bengal-borneo.config | 16 ++++++++++++++++ drivers/soc/qcom/Kconfig | 7 +++++++ 3 files changed, 42 insertions(+) create mode 100644 arch/arm64/configs/vendor/ext_config/borneo-default.config create mode 100644 arch/arm64/configs/vendor/ext_config/debug-bengal-borneo.config diff --git a/arch/arm64/configs/vendor/ext_config/borneo-default.config b/arch/arm64/configs/vendor/ext_config/borneo-default.config new file mode 100644 index 000000000000..310a34e9e89f --- /dev/null +++ b/arch/arm64/configs/vendor/ext_config/borneo-default.config @@ -0,0 +1,19 @@ +# +# 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_BORNEO_DTB=y +CONFIG_BAT_NTC_10K=y +CONFIG_PANEL_NOTIFICATIONS=y +# CONFIG_SMB1355_SLAVE_CHARGER is not set diff --git a/arch/arm64/configs/vendor/ext_config/debug-bengal-borneo.config b/arch/arm64/configs/vendor/ext_config/debug-bengal-borneo.config new file mode 100644 index 000000000000..830e8a22f610 --- /dev/null +++ b/arch/arm64/configs/vendor/ext_config/debug-bengal-borneo.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 67d70f15ded5..cf49de73a903 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -35,6 +35,13 @@ config GUAMNA_DTB Only include Guam NA specific DTBs to limit the number that get built during kernel compilatio +config BORNEO_DTB + depends on ARCH_QCOM + default n + bool "BorneoNA DTBs" + help + Only include Borneo NA specific DTBs to limit the number that + get built during kernel compilatio config QCOM_COMMAND_DB tristate "Qualcomm Command DB"