summaryrefslogtreecommitdiffstats
path: root/ich_descriptors.c
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2019-06-16 20:17:19 +0200
committerNico Huber <nico.h@gmx.de>2021-06-26 15:57:21 +0000
commit78d9c7d02c0eb9720a40d9fe80a4843c064fd3c6 (patch)
tree89157d4614ab16ebfc934c763c21ed92d06276be /ich_descriptors.c
parent953c5ad440588e4bb5325efb10fa67e43ae7b782 (diff)
downloadflashrom-78d9c7d02c0eb9720a40d9fe80a4843c064fd3c6.tar.gz
flashrom-78d9c7d02c0eb9720a40d9fe80a4843c064fd3c6.tar.bz2
flashrom-78d9c7d02c0eb9720a40d9fe80a4843c064fd3c6.zip
layout: Drop `count` parameter of flashrom_layout_new()
Change-Id: I22c180c9971068b1ae101845ce88484c6842b852 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/flashrom/+/33544 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'ich_descriptors.c')
-rw-r--r--ich_descriptors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ich_descriptors.c b/ich_descriptors.c
index 5e6c7fb53..21fc40b6a 100644
--- a/ich_descriptors.c
+++ b/ich_descriptors.c
@@ -1279,7 +1279,7 @@ int layout_from_ich_descriptors(
return 1;
}
- if (flashrom_layout_new(layout, ARRAY_SIZE(regions)))
+ if (flashrom_layout_new(layout))
return 2;
ssize_t i;