drivers/elog: use region_device for NV storage
commitd10f9d57c2be360fcecb0f3dece4886ced781e54
authorAaron Durbin <adurbin@chromium.org>
Wed, 10 Aug 2016 16:37:14 +0000 (10 11:37 -0500)
committerMartin Roth <martinroth@google.com>
Fri, 19 Aug 2016 16:18:08 +0000 (19 18:18 +0200)
tree823ab9d0fc8e7bd6b9b8c6b68234dd1b67b1fccc
parentbccaab86582957483b0b7e50ead308ed1bff815d
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>
src/drivers/elog/Kconfig
src/drivers/elog/elog.c
src/vendorcode/google/chromeos/Kconfig