factory_install: Report software write protection by flashrom.

The crossystem property "sw_wpsw_boot" is currently only supported on Baytrail
systems. We have to call "flashrom --wp-status" for most systems.

BUG=chrome-os-partner:30598
TEST=Boots on Nyan and see "SW write protect" with correct values.

Change-Id: I47df67026b4c9f7b85afa4d87a65659af5265bfd
Reviewed-on: https://chromium-review.googlesource.com/208045
Reviewed-by: Jon Salz <jsalz@chromium.org>
Commit-Queue: Hung-Te Lin <hungte@chromium.org>
Tested-by: Hung-Te Lin <hungte@chromium.org>
1 file changed