mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 22:21:16 +02:00
Generify support for ITE IT8705 Super I/O
Autodetect the ITE IT8705 Super I/O and enable flash writes if it performs LPC->Parallel translation. Remove board enables which triggered the IT8705 write enable manually. Change the IT87 SPI special case to cover IT87 LPC->SPI and LPC->Parallel translation. Corresponding to flashrom svn r1073. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Tested on Syntax SV266A. Acked-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested on Shuttle AK38N, all operations work fine. Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
This commit is contained in:
@ -229,8 +229,10 @@ int internal_init(void)
|
||||
}
|
||||
|
||||
#if defined(__i386__) || defined(__x86_64__)
|
||||
/* Probe for IT87* LPC->SPI translation unconditionally. */
|
||||
it87xx_probe_spi_flash(NULL);
|
||||
/* Probe unconditionally for IT87* LPC->SPI translation and for
|
||||
* IT87* Parallel write enable.
|
||||
*/
|
||||
init_superio_ite();
|
||||
#endif
|
||||
|
||||
board_flash_enable(lb_vendor, lb_part);
|
||||
|
Reference in New Issue
Block a user