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 <dlaurie@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/315223
Commit-Ready: Aaron Durbin <adurbin@chromium.org>
Tested-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Shawn N <shawnn@chromium.org>
This commit is contained in:
Duncan Laurie
2015-12-01 18:49:06 -08:00
committed by chrome-bot
parent 81efb83e95
commit e9c8d3850c
4 changed files with 50 additions and 14 deletions

View File

@@ -8,6 +8,12 @@
#ifndef __CROS_EC_BOARD_H
#define __CROS_EC_BOARD_H
/*
* Allow dangerous commands.
* TODO: Remove this config before production.
*/
#define CONFIG_SYSTEM_UNLOCKED
/* Optional features */
#define CONFIG_ADC
#define CONFIG_BATTERY_CUT_OFF
@@ -31,6 +37,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
@@ -85,10 +92,12 @@
#define CONFIG_THERMISTOR_NCP15WB
/*
* Allow dangerous commands.
* TODO: 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

View File

@@ -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__

View File

@@ -8,6 +8,12 @@
#ifndef __CROS_EC_BOARD_H
#define __CROS_EC_BOARD_H
/*
* Allow dangerous commands.
* TODO: Remove this config before production.
*/
#define CONFIG_SYSTEM_UNLOCKED
/* Optional features */
#define CONFIG_ADC
#define CONFIG_BATTERY_CUT_OFF
@@ -43,6 +49,7 @@
#define ISL9237_C2_PSYS_GAIN_0_36 (100000000ul / (CHARGER_PSYS_RESISTOR * 36))
#define CONFIG_CHIPSET_SKYLAKE
#define CONFIG_CHIPSET_RESET_HOOK
#define CONFIG_CLOCK_CRYSTAL
#define CONFIG_EXTPOWER_GPIO
#define CONFIG_FANS 1
@@ -97,10 +104,12 @@
#define CONFIG_TEMP_SENSOR_TMP432
/*
* 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
/* LED signals */
@@ -122,7 +131,7 @@
#define I2C_PORT_USB_CHARGER_2 MEC1322_I2C0_0
#undef DEFERRABLE_MAX_COUNT
#define DEFERRABLE_MAX_COUNT 14
#define DEFERRABLE_MAX_COUNT 15
#define CONFIG_ALS
#define CONFIG_ALS_OPT3001

View File

@@ -8,6 +8,12 @@
#ifndef __CROS_EC_BOARD_H
#define __CROS_EC_BOARD_H
/*
* Allow dangerous commands.
* TODO: Remove this config before production.
*/
#define CONFIG_SYSTEM_UNLOCKED
/* Optional features */
#define CONFIG_ADC
#define CONFIG_ALS
@@ -45,6 +51,7 @@
#define ISL9237_C2_PSYS_GAIN_0_36 (100000000ul / (CHARGER_PSYS_RESISTOR * 36))
#define CONFIG_CHIPSET_SKYLAKE
#define CONFIG_CHIPSET_RESET_HOOK
#define CONFIG_CLOCK_CRYSTAL
#undef CONFIG_DEBUG_ASSERT
#define CONFIG_EXTPOWER_GPIO
@@ -101,10 +108,12 @@
#define CONFIG_TEMP_SENSOR_TMP432
/*
* Allow dangerous commands.
* TODO: 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
/* I2C ports */