Changeset 1232 for trunk/flashrom.c


Ignore:
Timestamp:
Nov 10, 2010 4:25:18 PM (3 years ago)
Author:
hailfinger
Message:

Revert PCI config space writes on shutdown.
This means all chipset enables etc. will be undone on shutdown.
Reversible PCI config space writes now use rpci_write_*().
PCI config space writes which are one-shot (e.g. communication via
config space) should continue to use the permanent pci_write_*
variants.

Extend the number of available register_shutdown slots to 32.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@…>
Acked-by: Michael Karcher <flashrom@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/flashrom.c

    r1226 r1232  
    443443}; 
    444444 
    445 #define SHUTDOWN_MAXFN 4 
     445#define SHUTDOWN_MAXFN 32 
    446446static int shutdown_fn_count = 0; 
    447447struct shutdown_func_data { 
Note: See TracChangeset for help on using the changeset viewer.