Author: stuge Date: 2009-01-12 22:28:03 +0100 (Mon, 12 Jan 2009) New Revision: 3858
Modified: trunk/util/flashrom/it87spi.c Log: flashrom: IT8718F works just like IT8716F.
Signed-off-by: Peter Stuge peter@stuge.se Acked-by: Yul Rottmann yulrottmann@bitel.net
Modified: trunk/util/flashrom/it87spi.c =================================================================== --- trunk/util/flashrom/it87spi.c 2009-01-12 21:00:35 UTC (rev 3857) +++ trunk/util/flashrom/it87spi.c 2009-01-12 21:28:03 UTC (rev 3858) @@ -80,7 +80,7 @@ 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",