summaryrefslogtreecommitdiff
path: root/it87spi.c
diff options
context:
space:
mode:
authorstuge <stuge@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2009-01-12 21:28:03 +0000
committerstuge <stuge@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2009-01-12 21:28:03 +0000
commit465786e52a3fffaa240681a2e7705da29ef1ce0c (patch)
tree94f81a93a4b675f5d8bf942449420ff0201fc29f /it87spi.c
parenta6de8cf83dbe193bf79db46854e6d645faf2b750 (diff)
downloadflashrom-465786e52a3fffaa240681a2e7705da29ef1ce0c.tar.gz
Original v2 revision: 3858
flashrom: IT8718F works just like IT8716F. Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Yul Rottmann <yulrottmann@bitel.net> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@379 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
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 dd79b93..f95f88d 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",