summaryrefslogtreecommitdiff
path: root/src/drivers/elog/Kconfig
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2016-08-10 11:37:14 -0500
committerMartin Roth <martinroth@google.com>2016-08-19 18:18:08 +0200
commitd10f9d57c2be360fcecb0f3dece4886ced781e54 (patch)
tree823ab9d0fc8e7bd6b9b8c6b68234dd1b67b1fccc /src/drivers/elog/Kconfig
parentbccaab86582957483b0b7e50ead308ed1bff815d (diff)
drivers/elog: use region_device for NV storage
Instead of assuming SPI backing use a region_device to abstract away the underlying storage mechanism. BUG=chrome-os-partner:55932 Change-Id: I6b0f5a7e9bea8833fb1bca87e02abefab63acec3 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/16204 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/drivers/elog/Kconfig')
-rw-r--r--src/drivers/elog/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/elog/Kconfig b/src/drivers/elog/Kconfig
index cb5d3d40cc..c7bed75059 100644
--- a/src/drivers/elog/Kconfig
+++ b/src/drivers/elog/Kconfig
@@ -14,9 +14,9 @@
##
config ELOG
- depends on SPI_FLASH
bool "Support for flash based event log"
default n
+ depends on BOOT_DEVICE_SUPPORTS_WRITES
help
Enable support for flash based event logging.
@@ -39,7 +39,7 @@ config ELOG_CBMEM
endif
config ELOG_GSMI
- depends on ELOG && SPI_FLASH_SMM && SMM_TSEG
+ depends on ELOG && SMM_TSEG
bool "SMI interface to write and clear event log"
default n
help