Add FW update check flow when firmware is in bootloader

The script will check the firmware status, If the touchscreen is in
boot mode, it will skip hardware version check and forced to
update the firmware.

BUG=chrome-os-partner:57767
TEST=By manually erase touchscreen FW and replace this script, then reboot.
     Touchscreen functions will work as expected.

Change-Id: I39f3f6914fe49b7671d621169b90a7c08fc0c20e
Reviewed-on: https://chromium-review.googlesource.com/383511
Commit-Ready: Chia-Hsiu Chang <chia-hsiu.chang@quantatw.com>
Tested-by: Yeh Jason <jason.yeh@rad-ic.com>
Reviewed-by: Charlie Mooney <charliemooney@chromium.org>
1 file changed
tree: ca32a963e3fd6ed744881561fb9fa440324fa153
  1. policies/
  2. scripts/
  3. LICENSE
  4. OWNERS
  5. README