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

Unified Diff: internal.c

Issue 6897014: Do not call EC programmer shutdown functions explicitly. (Closed) Base URL: svn://coreboot.org/flashrom/trunk
Patch Set: call shutdown function for internal programmer explicitly Created 9 years, 8 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 | « flashrom.c ('k') | it85spi.c » ('j') | mec1308.c » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: internal.c
diff --git a/internal.c b/internal.c
index 2f70f8512ee4676f5d9c1a98736dd8c1ea149ae7..3b74add6b7ccd26c52d64f45f96ae1283954f0ac 100644
--- a/internal.c
+++ b/internal.c
@@ -371,18 +371,15 @@ int internal_init(void)
#endif
}
-int internal_shutdown(void)
+#if 0
Stefan Reinauer 2011/04/27 20:34:05 delete this?
dhendrix 2011/04/27 21:15:05 Done.
+void internal_shutdown(void *data)
{
release_io_perms();
-
-#if defined(__i386__) || defined(__x86_64__)
- if (target_bus == CHIP_BUSTYPE_LPC ||
- target_bus == CHIP_BUSTYPE_FWH) {
- it85xx_shutdown();
- wpce775x_shutdown();
- mec1308_shutdown();
- }
+}
#endif
+int internal_shutdown(void)
+{
+ release_io_perms();
return 0;
}
« no previous file with comments | « flashrom.c ('k') | it85spi.c » ('j') | mec1308.c » ('J')

Powered by Google App Engine
This is Rietveld 408576698