summaryrefslogtreecommitdiffstats
path: root/layout.h
diff options
context:
space:
mode:
authorDavid Hendricks <dhendricks@fb.com>2017-09-01 20:02:36 -0700
committerDavid Hendricks <david.hendricks@gmail.com>2017-09-03 19:32:52 +0000
commit0eb00d4e77d3ad0fceef62b0d2ea69aa4835aa8e (patch)
tree9860c6d1b56afd370a1fdeaa7a43511ac96aa095 /layout.h
parenta5216367d5640f07d58a6549fa6df86d91daff1a (diff)
downloadflashrom-0eb00d4e77d3ad0fceef62b0d2ea69aa4835aa8e.tar.gz
flashrom-0eb00d4e77d3ad0fceef62b0d2ea69aa4835aa8e.tar.bz2
flashrom-0eb00d4e77d3ad0fceef62b0d2ea69aa4835aa8e.zip
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>
Diffstat (limited to 'layout.h')
-rw-r--r--layout.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/layout.h b/layout.h
index c93d7549e..f32dc8293 100644
--- a/layout.h
+++ b/layout.h
@@ -57,11 +57,6 @@ struct single_layout {
struct romentry entry;
};
-struct ich_layout {
- struct flashrom_layout base;
- struct romentry entries[5];
-};
-
struct flashrom_layout *get_global_layout(void);
int process_include_args(struct flashrom_layout *);