From 88ded318c3bd9415eb87790cee5c5dd889d0d683 Mon Sep 17 00:00:00 2001 From: Peter Stuge Date: Mon, 12 Jan 2009 21:28:03 +0000 Subject: flashrom: IT8718F works just like IT8716F. Signed-off-by: Peter Stuge Acked-by: Yul Rottmann git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3858 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/flashrom/it87spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') 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", -- cgit v1.2.3