From e9c8d3850cee6d27d86a231aec75d0f24c09862a Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Tue, 1 Dec 2015 18:49:06 -0800 Subject: chell/glados/kunimitsu/tlars: Enable temporary host storage Enable the temporary secure storage feature for vboot on skylake. BUG=chrome-os-partner:46075 BRANCH=none TEST=tested on glados and chell with modifed coreboot Change-Id: Ic01888f7578e8e04bb39b38651bb646d1fc20750 Signed-off-by: Duncan Laurie Reviewed-on: https://chromium-review.googlesource.com/315223 Commit-Ready: Aaron Durbin Tested-by: Aaron Durbin Reviewed-by: Shawn N --- board/glados/board.h | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'board/glados') diff --git a/board/glados/board.h b/board/glados/board.h index 3f35b5c657..537126c765 100644 --- a/board/glados/board.h +++ b/board/glados/board.h @@ -8,6 +8,12 @@ #ifndef __CROS_EC_BOARD_H #define __CROS_EC_BOARD_H +/* + * Allow dangerous commands. + * TODO(shawnn): Remove this config before production. + */ +#define CONFIG_SYSTEM_UNLOCKED + /* Optional features */ #define CONFIG_ACCELGYRO_BMI160 #define CONFIG_ACCEL_KX022 @@ -37,6 +43,7 @@ #define CONFIG_CHARGER_SENSE_RESISTOR_AC 20 #define CONFIG_CHIPSET_SKYLAKE +#define CONFIG_CHIPSET_RESET_HOOK #define CONFIG_CLOCK_CRYSTAL #define CONFIG_EXTPOWER_GPIO #define CONFIG_HOSTCMD_PD @@ -93,10 +100,12 @@ #define CONFIG_THERMISTOR_NCP15WB /* - * Allow dangerous commands. - * TODO(shawnn): Remove this config before production. + * Enable 1 slot of secure temporary storage to support + * suspend/resume with read/write memory training. */ -#define CONFIG_SYSTEM_UNLOCKED +#define CONFIG_VSTORE +#define CONFIG_VSTORE_SLOT_COUNT 1 + #define CONFIG_WATCHDOG_HELP #define CONFIG_WIRELESS @@ -136,7 +145,7 @@ #undef CONFIG_CONSOLE_CMDHELP #undef DEFERRABLE_MAX_COUNT -#define DEFERRABLE_MAX_COUNT 14 +#define DEFERRABLE_MAX_COUNT 15 #ifndef __ASSEMBLER__ -- cgit v1.2.1