1#!/bin/bash 2 3# Copyright 2019 The Chromium OS Authors. All rights reserved. 4# Use of this source code is governed by a BSD-style license that can be 5# found in the LICENSE file. 6 7FW_FILE="$1" 8 9if [[ ! -f "${FW_FILE}" ]]; then 10 echo "You must specify a firmware file to flash" 11 exit 1 12fi 13 14flashrom --fast-verify -V -p ec:type=fp -i EC_RW -w "${FW_FILE}" 15