soc/intel/cnl: Add config to disable IME

Replace hard-coded define with a Kconfig option. Default to true to
preserve current beahvior.

Change-Id: I684470c831bcc03a4d4f78e22367a88dc2e3def6
This commit is contained in:
Tim Crawford
2021-04-20 11:40:48 -06:00
committed by Jeremy Soller
parent cc18a3e941
commit 9962529199
2 changed files with 5 additions and 2 deletions

View File

@@ -358,4 +358,8 @@ config INTEL_GMA_BCLM_OFFSET
config INTEL_GMA_BCLM_WIDTH
default 32
config DISABLE_ME
bool "Disable the IME by setting the HAP bit at run-time"
default y
endif

View File

@@ -154,8 +154,7 @@ void dump_me_status(void *unused)
hfsts6.fields.txt_support ? "YES" : "NO");
}
#define DISABLE_ME 1
#if DISABLE_ME
#if CONFIG(DISABLE_ME)
static void disable_me(void* unused)
{