crossystem: arm: switch to VBNV using flashrom from mosys

Most ARM platforms will store VBNV in SPI flash by calling out to
mosys, which in turn calls out to flashrom.

The set of parent CLs to this commit port this functionality from
mosys directly to vboot's host libraries.  This CL switches to use the
new functionality.

(The CL to switch is provided as a separate CL for ARM only so it's an
easy and clean revert should something go wrong.)

TEST=On scarlet, read and write VBNV using crossystem

Signed-off-by: Jack Rosenthal <>
Change-Id: I1949522b665170ebeb35f3c46177f1957980d6a3
Reviewed-by: Joel Kitching <>
1 file changed