Script for upgrading disk firmware

Update disk using firmware package.
Only present in the image if a firmware package for that machine
is present.

Contains code to avoid rechecking the firmware to
reduce boot time.

TEST=Unit test: FEATURES=test emerge-falco -v chromeos-base/disk_updater
TEST=On Falco, tested downgrade/upgrade/check of LiteON 16G [test image]
TEST=On Falco, tested on a different SSD
BUG=chromium:328624
Change-Id: I98ab9f26a9e7f8d4ed981a434dd76dc2a320be6c
Reviewed-on: https://chromium-review.googlesource.com/180632
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
Commit-Queue: Gwendal Grignou <gwendal@chromium.org>
Tested-by: Gwendal Grignou <gwendal@chromium.org>
14 files changed
tree: d924d9fb829416f24d8c532ebe3fd3953645ff4a
  1. LICENSE
  2. OWNERS
  3. README
  4. README.chromium
  5. scripts/
  6. tests/