From affc41cec2c4c34e84ab0443b27fc652ae798faa Mon Sep 17 00:00:00 2001 From: Kevin K Wong Date: Wed, 6 Jul 2016 16:44:38 -0700 Subject: [PATCH] amenia: enable 1 slot of secure temporary storage BUG=none BRANCH=none Test=amenia is able to resume from S3 Change-Id: Idd89c791b65b67051a433d02ffb0fb1df1b834ef Signed-off-by: Kevin K Wong Reviewed-on: https://chromium-review.googlesource.com/358630 Reviewed-by: David Hendricks --- board/amenia/board.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/board/amenia/board.h b/board/amenia/board.h index d2a916c90b..5833543fb1 100644 --- a/board/amenia/board.h +++ b/board/amenia/board.h @@ -109,6 +109,13 @@ #define CONFIG_USBC_VCONN_SWAP #define CONFIG_VBOOT_HASH +/* + * Enable 1 slot of secure temporary storage to support + * suspend/resume with read/write memory training. + */ +#define CONFIG_VSTORE +#define CONFIG_VSTORE_SLOT_COUNT 1 + #define CONFIG_FLASH_SIZE 0x80000 /* 512 KB Flash used for EC */ #define CONFIG_SPI_FLASH_W25X40