soc/intel/cmn/cse: Add Kconfig to set ME default CFR option state
When using the CFR option backend, a mainboard may want to set the ME default state to disabled, so add a Kconfig which can be selected to do so. Change-Id: I53d88af5e5cc9b7300b847e4aaf8e4cd2ce5bb75 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/87649 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
50a5fe77de
commit
b59fef9678
2 changed files with 9 additions and 1 deletions
|
|
@ -463,3 +463,11 @@ config CSE_RESET_CLEAR_EC_AP_IDLE_FLAG
|
|||
Select this if the variant is a Chromebox/base. This allows AP to direct EC
|
||||
to clear AP_IDLE flag before triggering reset to make sure AP can boot up
|
||||
after reset.
|
||||
|
||||
config CSE_DEFAULT_CFR_OPTION_STATE_DISABLED
|
||||
bool
|
||||
default n
|
||||
help
|
||||
Mainboards can select this if using the CFR option backend to configure
|
||||
the ME operational state and want the default state to be disabled.
|
||||
If not selected, the default state will be enabled.
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ static const struct sm_object me_state = SM_DECLARE_ENUM({
|
|||
.opt_name = "me_state",
|
||||
.ui_name = "Intel Management Engine",
|
||||
.ui_helptext = "Enable or disable the Intel Management Engine",
|
||||
.default_value = 0,
|
||||
.default_value = CONFIG(CSE_DEFAULT_CFR_OPTION_STATE_DISABLED),
|
||||
.values = (const struct sm_enum_value[]) {
|
||||
{ "Disabled", 1 },
|
||||
{ "Enabled", 0 },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue