[flashrom] [PATCH] Revert MMIO space writes on shutdown as needed.

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Mon May 2 22:28:55 CEST 2011


New version with a few bugfixes and better comments:
- Do not use reversible writes for on-the-fly opcode menu reprogramming
- Add reversible PCI MMIO writes

Revert MMIO space writes on shutdown as needed.
Reversible MMIO space writes now use rmmio_write*().
Reversible PCI MMIO space writes now use pci_rmmio_write*().
If a MMIO value needs to be queued for restore without writing it,
use rmmio_val*().
MMIO space writes which are one-shot (e.g. communication with some chip)
should continue to use the permanent mmio_write* variants.

Signed-off-by: Carl-Daniel Hailfinger<c-d.hailfinger.devel.2006 at gmx.net>

Patch attached because Seamonkey started to mangle patches.

-- 
http://www.hailfinger.org/

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: flashrom_mmio_shutdown_restore04.diff
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20110502/05c02935/attachment.ksh>


More information about the flashrom mailing list