Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Unified Diff: internal.c

Issue 3162005: add it8500 support (Closed) Base URL: ssh://git@gitrw.chromium.org/flashrom
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Makefile ('k') | it85spi.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: internal.c
diff --git a/internal.c b/internal.c
index 8b19692fa8756eb8cdc9e8a4245d8893ac92242e..f2af9f92b1c677430ff5ba058ecea300d1ba7333 100644
--- a/internal.c
+++ b/internal.c
@@ -106,6 +106,7 @@ struct superio superio = {};
void probe_superio(void)
{
superio = probe_superio_ite();
+ superio = probe_superio_ite85xx();
#if 0
/* Winbond Super I/O code is not yet available. */
if (superio.vendor == SUPERIO_VENDOR_NONE)
@@ -234,6 +235,7 @@ int internal_init(void)
* IT87* Parallel write enable.
*/
init_superio_ite();
+ it85xx_probe_spi_flash(NULL);
#endif
board_flash_enable(lb_vendor, lb_part);
@@ -268,6 +270,10 @@ int internal_shutdown(void)
{
release_io_perms();
+#if defined(__i386__) || defined(__x86_64__)
+ it85xx_shutdown();
+#endif
+
return 0;
}
#endif
« no previous file with comments | « Makefile ('k') | it85spi.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698