summaryrefslogtreecommitdiffstats
path: root/it87spi.c
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
commitd3bce83599358722791b6051ea45de70628adb57 (patch)
tree94f81a93a4b675f5d8bf942449420ff0201fc29f /it87spi.c
parent1fec0f35c70bede4c9d54e3007f609611b354f1e (diff)
downloadflashrom-d3bce83599358722791b6051ea45de70628adb57.tar.gz
flashrom-d3bce83599358722791b6051ea45de70628adb57.tar.bz2
flashrom-d3bce83599358722791b6051ea45de70628adb57.zip
IT8718F works just like IT8716F
Corresponding to flashrom svn r379 and coreboot v2 svn r3858. Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Yul Rottmann <yulrottmann@bitel.net>
Diffstat (limited to 'it87spi.c')
-rw-r--r--it87spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/it87spi.c b/it87spi.c
index dd79b93cd..f95f88d82 100644
--- a/it87spi.c
+++ b/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",