mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 07:02:34 +02:00
Move ich_layout from layout.h to ich_descriptors.h
This moves the ich_layout declaration from one header to another. This will avoid a circular dependency when we update the entries[] member in the follow-up patch to use MAX_NUM_FLREGS which is defined in ich_descriptors.h. Change-Id: I08006f1f7c9ccdd17a9a6d74881ed2c8541d4de1 Signed-off-by: David Hendricks <dhendricks@fb.com> Reviewed-on: https://review.coreboot.org/21337 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
parent
a5216367d5
commit
0eb00d4e77
@ -566,6 +566,11 @@ struct ich_descriptors {
|
||||
struct ich_desc_upper_map upper;
|
||||
};
|
||||
|
||||
struct ich_layout {
|
||||
struct flashrom_layout base;
|
||||
struct romentry entries[5];
|
||||
};
|
||||
|
||||
ssize_t ich_number_of_regions(enum ich_chipset cs, const struct ich_desc_content *content);
|
||||
ssize_t ich_number_of_masters(enum ich_chipset cs, const struct ich_desc_content *content);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user