summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Stuge <peter@stuge.se>2009-01-12 21:28:03 +0000
committerPeter Stuge <peter@stuge.se>2009-01-12 21:28:03 +0000
commit88ded318c3bd9415eb87790cee5c5dd889d0d683 (patch)
treec3b4a33a548445cf6504eb653a4757a60ee85b18
parent475ac26a9b4f14e35839f6b0df17ea9e81531b74 (diff)
downloadcoreboot-88ded318c3bd9415eb87790cee5c5dd889d0d683.tar.xz
flashrom: IT8718F works just like IT8716F.
Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Yul Rottmann <yulrottmann@bitel.net> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3858 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--util/flashrom/it87spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/flashrom/it87spi.c b/util/flashrom/it87spi.c
index dd79b93cdb..f95f88d82c 100644
--- a/util/flashrom/it87spi.c
+++ b/util/flashrom/it87spi.c
@@ -80,7 +80,7 @@ static uint16_t find_ite_spi_flash_port(uint16_t port)
id |= regval(port, CHIP_ID_BYTE2_REG);
/* TODO: Handle more IT87xx if they support flash translation */
- if (id == 0x8716) {
+ if (0x8716 == id || 0x8718 == id) {
/* NOLDN, reg 0x24, mask out lowest bit (suspend) */
tmp = regval(port, 0x24) & 0xFE;
printf("Serial flash segment 0x%08x-0x%08x %sabled\n",