1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-27 23:22:37 +02:00

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>
This commit is contained in:
Peter Stuge 2009-01-12 21:28:03 +00:00
parent 1fec0f35c7
commit d3bce83599

View File

@ -80,7 +80,7 @@ static uint16_t find_ite_spi_flash_port(uint16_t port)
id |= regval(port, CHIP_ID_BYTE2_REG); id |= regval(port, CHIP_ID_BYTE2_REG);
/* TODO: Handle more IT87xx if they support flash translation */ /* 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) */ /* NOLDN, reg 0x24, mask out lowest bit (suspend) */
tmp = regval(port, 0x24) & 0xFE; tmp = regval(port, 0x24) & 0xFE;
printf("Serial flash segment 0x%08x-0x%08x %sabled\n", printf("Serial flash segment 0x%08x-0x%08x %sabled\n",