From 30d770b62f84bbe63ba077b9c94df3973f36154b Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Sun, 25 Apr 2021 16:44:48 +0800 Subject: [PATCH] soc: rockchip: Add NO_GKI config Add a Kconfig flag to differentiate between a GKI and an Non GKI build. Signed-off-by: Tao Huang Change-Id: Ib0c57f7579f2cec06288ac9e063548c6395bf44c --- drivers/soc/rockchip/Kconfig | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/drivers/soc/rockchip/Kconfig b/drivers/soc/rockchip/Kconfig index 43acb5543dfb..b522061c7b92 100644 --- a/drivers/soc/rockchip/Kconfig +++ b/drivers/soc/rockchip/Kconfig @@ -3,6 +3,19 @@ if ARCH_ROCKCHIP || COMPILE_TEST source "drivers/soc/rockchip/Kconfig.cpu" +# +# Rockchip Android Features +# + +config NO_GKI + bool "Disable Android GKI support" + default y if !GKI_HACKS_TO_FIX + help + Say y here to disable Android GKI support. Then + all the ABI compatibilities are not applicable. + + If unsure, say Y. + # # Rockchip Soc drivers #