summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rwxr-xr-xutil/flash_ec3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/flash_ec b/util/flash_ec
index d6bde4ab7d..94f8423374 100755
--- a/util/flash_ec
+++ b/util/flash_ec
@@ -982,7 +982,8 @@ function flash_flashrom() {
T=/tmp/flash_spi_$$
DELETE_LIST+=( "${T}" )
- if [[ "${CHIP}" =~ ^npcx(|_int)_spi$ ]] ; then
+ if [[ "${CHIP}" =~ ^npcx(|_int)_spi$ ]] || \
+ [[ "${CHIP}" =~ "ite_spi" ]] ; then
{ # Patch temp image up to SPI_SIZE
cat "$IMG"
if [[ ${IMG_SIZE} -lt ${SPI_SIZE} ]] ; then