diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/layout.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/include/layout.h b/include/layout.h index abbdc22c..6959ef74 100644 --- a/include/layout.h +++ b/include/layout.h @@ -35,14 +35,19 @@ typedef uint32_t chipsize_t; /* Able to store the number of bytes of any support #define MAX_ROMLAYOUT 128 +struct flash_region { + char *name; + chipoff_t start; + chipoff_t end; +}; + struct romentry { struct romentry *next; - chipoff_t start; - chipoff_t end; bool included; - char *name; char *file; + + struct flash_region region; }; struct flashrom_layout; |