crossystem: Move mosys based VbNv functions to shared code
authorDuncan Laurie <dlaurie@chromium.org>
Wed, 30 Mar 2016 16:35:20 +0000 (09:35 -0700)
committerchrome-bot <chrome-bot@chromium.org>
Mon, 11 Apr 2016 21:36:41 +0000 (14:36 -0700)
commite98431f52ba7501823dc7ef28eb2dc9c7c927629
tree4ba2003aaa22d625d3afa39fc076bf95df5d5cbd
parent723b3c09debfa350f7a17e7927116c3535ac081b
crossystem: Move mosys based VbNv functions to shared code

The code to read/write vbnv with mosys was implemented in the
ARM specific code so move it to the generic crosystem code
so it can be used on x86.

No functional changes in this commit.

BUG=chrome-os-partner:51846
BRANCH=none
TEST=emerge-chell vboot_reference; emerge-oak vboot_reference

Change-Id: I3fe18fadb924094e710427208976328caf12a009
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/336310
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
host/arch/arm/lib/crossystem_arch.c
host/include/crossystem_vbnv.h [new file with mode: 0644]
host/lib/crossystem.c