From 7a418dae791eece3ecb120ed731867dc97be7be4 Mon Sep 17 00:00:00 2001 From: Prakruthi Deepak Heragu Date: Tue, 10 Sep 2019 10:53:10 -0700 Subject: [PATCH] soc: qcom: Add a config flag to know the build variant Add a Kconfig flag to differentiate between a GKI and an Non GKI build. CONFIG_QGKI is enabled if the build is a Non GKI variant (QGKI or debug). This flag doesn't differentiate between QGKI and debug variants. Change-Id: I6b53b1e0e4c071fc7d9b365ff374ffe4e8b3e8ba Signed-off-by: Prakruthi Deepak Heragu --- drivers/soc/qcom/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig index 6f25505c05eb..d3de7b53d9d7 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -386,4 +386,13 @@ config MSM_CDSP_LOADER for platforms that have one. Say M if you want to enable this module. +config QGKI + bool "Enable for QGKI or debug variant" + help + When this flag is enabled, it is safe to assume that the build + is a Non GKI build. It can be either QGKI build or a debug + build. This does not differentiate a QGKI and a debug build. + This flag is absent if the build is a GKI build. If this flag is + enabled, all the ABI compatibilities are not applicable. + endmenu