From 8944d0824a0f16b755ced256b06a5e862b0468d7 Mon Sep 17 00:00:00 2001 From: Daniel Kurtz Date: Thu, 18 Jan 2018 19:51:13 -0800 Subject: [PATCH] grunt: Add CONFIG_VSTORE Add a slot of secure temporary storage to support suspend/resume. Signed-off-by: Daniel Kurtz BUG=b:72188897 TEST=On grunt w/ S3-enabled coreboot: powerd_dbus_suspend --wakeup_timeout=10 => Device resumes throught coreboot to kernel BRANCH=none Change-Id: I37410a3e66fc6eee32e559069a33e904880cddc9 Reviewed-on: https://chromium-review.googlesource.com/875418 Commit-Ready: Daniel Kurtz Tested-by: Daniel Kurtz Reviewed-by: Edward Hill Reviewed-by: Jett Rink Reviewed-by: Justin TerAvest --- board/grunt/board.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/board/grunt/board.h b/board/grunt/board.h index ceeb2584e2..fa5002db1a 100644 --- a/board/grunt/board.h +++ b/board/grunt/board.h @@ -23,6 +23,13 @@ #define CONFIG_SPI_FLASH_REGS #define CONFIG_SPI_FLASH_W25Q80 /* Internal SPI flash type. */ +/* + * 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_ADC #define CONFIG_BACKLIGHT_LID #define CONFIG_BACKLIGHT_LID_ACTIVE_LOW