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:
@ -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;
|
||||
|
Reference in New Issue
Block a user