Changeset 1482 for trunk/flash.h


Ignore:
Timestamp:
Dec 25, 2011 10:12:16 AM (17 months ago)
Author:
stefanct
Message:

Add deferred --image processing

The general idea and most of the code are based on the following
commits in the chromiumos flashrom tree:

8fc0740356ca15d02fb1c65ab43b10844f148c3b
bb9049c66ca55e0dc621dd2c70b5d2cb6e5179bf
Signed-off-by: Louis Yung-Chieh Lo <yjlou@…>

and the main part:
d0ea9ed71e7f86bb8e8db2ca7c32a96de25343d8
Signed-off-by: David Hendricks <dhendrix@…>

This implementation does not defer the processing until doit(), but after the
argument parsing loop only (doit() should not contain argument checks).

This allows to specify -i and -l parameters in any order.

Signed-off-by: Stefan Tauner <stefan.tauner@…>
Acked-by: David Hendricks <dhendrix@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/flash.h

    r1475 r1482  
    290290 
    291291/* layout.c */ 
     292int register_include_arg(char *name); 
     293int process_include_args(void); 
    292294int read_romlayout(char *name); 
    293 int find_romentry(char *name); 
    294295int handle_romentries(struct flashctx *flash, uint8_t *oldcontents, uint8_t *newcontents); 
    295296 
Note: See TracChangeset for help on using the changeset viewer.