summaryrefslogtreecommitdiffstats
path: root/internal.c
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2010-03-25 02:50:40 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2010-03-25 02:50:40 +0000
commit01f3ef4fd1b46cac6b2601c7ae3f4fa1fc1df462 (patch)
treefbcfb9e21e27d3a33bdb778d3907f05a2af13659 /internal.c
parented479d2a8728dc12f1f78170cacfaf542cd0b44e (diff)
downloadflashrom-01f3ef4fd1b46cac6b2601c7ae3f4fa1fc1df462.tar.gz
flashrom-01f3ef4fd1b46cac6b2601c7ae3f4fa1fc1df462.tar.bz2
flashrom-01f3ef4fd1b46cac6b2601c7ae3f4fa1fc1df462.zip
Autodetect ITE IT87* LPC->SPI translation on all boards without the need for a board enable
Move boards which had an IT87* SPI board enable from the board enable list to the OK list. Mark the Gigabyte GA-MA78GPM-DS2H as OK. Change the it87spi forced port parameter to it87spiport=... Fix incorrect indentation in the man page. Tested by Ward Vandewege on both variants of the Gigabyte GA-M57SLI-S4 http://www.flashrom.org/pipermail/flashrom/2010-March/002712.html Tested by 李彥學 (Ian-Xue Li) on the Gigabyte GA-MA78GPM-DS2H http://www.flashrom.org/pipermail/flashrom/2010-March/002723.html Corresponding to flashrom svn r983. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Ward Vandewege <ward@gnu.org>
Diffstat (limited to 'internal.c')
-rw-r--r--internal.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal.c b/internal.c
index e2444fd5f..39edd1049 100644
--- a/internal.c
+++ b/internal.c
@@ -173,6 +173,9 @@ int internal_init(void)
"will most likely fail.\n");
}
+ /* Probe for IT87* LPC->SPI translation unconditionally. */
+ it87xx_probe_spi_flash(NULL);
+
board_flash_enable(lb_vendor, lb_part);
/* Even if chipset init returns an error code, we don't want to abort.