From: Peter Stuge Date: Mon, 12 Jan 2009 21:28:03 +0000 (+0000) Subject: flashrom: IT8718F works just like IT8716F. X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=88ded318c3bd9415eb87790cee5c5dd889d0d683;p=coreboot.git 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 --- diff --git a/util/flashrom/it87spi.c b/util/flashrom/it87spi.c index dd79b93cd..f95f88d82 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",