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:
committed by
Jeremy Soller
parent
cc18a3e941
commit
9962529199
@@ -358,4 +358,8 @@ config INTEL_GMA_BCLM_OFFSET
|
|||||||
config INTEL_GMA_BCLM_WIDTH
|
config INTEL_GMA_BCLM_WIDTH
|
||||||
default 32
|
default 32
|
||||||
|
|
||||||
|
config DISABLE_ME
|
||||||
|
bool "Disable the IME by setting the HAP bit at run-time"
|
||||||
|
default y
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
@@ -154,8 +154,7 @@ void dump_me_status(void *unused)
|
|||||||
hfsts6.fields.txt_support ? "YES" : "NO");
|
hfsts6.fields.txt_support ? "YES" : "NO");
|
||||||
}
|
}
|
||||||
|
|
||||||
#define DISABLE_ME 1
|
#if CONFIG(DISABLE_ME)
|
||||||
#if DISABLE_ME
|
|
||||||
|
|
||||||
static void disable_me(void* unused)
|
static void disable_me(void* unused)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user