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>
This commit is contained in:
committed by
Martin Roth
parent
bccaab8658
commit
d10f9d57c2
@@ -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
|
||||
|
Reference in New Issue
Block a user