path: root/internal.c
diff options
authorCarl-Daniel Hailfinger <>2010-07-10 16:56:32 +0000
committerCarl-Daniel Hailfinger <>2010-07-10 16:56:32 +0000
commit76d4b373ddbe191d621102c502aa4a9ab6c8bb25 (patch)
treedc504608f4210643a4a0c5d3280fc7342530678e /internal.c
parent2b6dcb36c4121ed12fa2fb66f133365bd88f2456 (diff)
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 <> Tested on Syntax SV266A. Acked-by: Paul Menzel <> Tested on Shuttle AK38N, all operations work fine. Acked-by: Uwe Hermann <>
Diffstat (limited to 'internal.c')
1 files changed, 4 insertions, 2 deletions
diff --git a/internal.c b/internal.c
index 7b31e79..f99a4cc 100644
--- a/internal.c
+++ b/internal.c
@@ -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();
board_flash_enable(lb_vendor, lb_part);
OpenPOWER on IntegriCloud