1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-02 06:23:18 +02:00

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>
This commit is contained in:
Nico Huber
2019-06-16 20:17:19 +02:00
parent 953c5ad440
commit 78d9c7d02c
4 changed files with 5 additions and 6 deletions

View File

@ -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;