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

Unified Diff: chipset_enable.c

Issue 6877037: Revert MMIO space writes on shutdown as needed. (Closed) Base URL: ssh://gitrw.chromium.org:9222/flashrom.git@master
Patch Set: remove meaningless comments 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 | « no previous file | hwaccess.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chipset_enable.c
diff --git a/chipset_enable.c b/chipset_enable.c
index d8efd0bfc3e464a7c86ae5fdc991c850848354b4..5edfd04fc36a608f3629041afc7fc7a82b1fca48 100644
--- a/chipset_enable.c
+++ b/chipset_enable.c
@@ -447,11 +447,11 @@ static int enable_flash_ich_dc_spi(struct pci_dev *dev, const char *name,
if (target_bus == CHIP_BUSTYPE_LPC) {
msg_pdbg("Setting BBS to LPC\n");
gcs = (gcs & ~0xc00) | (0x3 << 10);
- mmio_writel(gcs, rcrb + 0x3410);
+ rmmio_writel(gcs, rcrb + 0x3410);
} else if (target_bus == CHIP_BUSTYPE_SPI) {
msg_pdbg("Setting BBS to SPI\n");
gcs = (gcs & ~0xc00) | (0x1 << 10);
- mmio_writel(gcs, rcrb + 0x3410);
+ rmmio_writel(gcs, rcrb + 0x3410);
}
msg_pdbg("GCS = 0x%x: ", gcs);
« no previous file with comments | « no previous file | hwaccess.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698