diff options
author | Nico Huber <nico.h@gmx.de> | 2019-06-16 20:17:19 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2021-06-26 15:57:21 +0000 |
commit | 78d9c7d02c0eb9720a40d9fe80a4843c064fd3c6 (patch) | |
tree | 89157d4614ab16ebfc934c763c21ed92d06276be /flashrom.c | |
parent | 953c5ad440588e4bb5325efb10fa67e43ae7b782 (diff) | |
download | flashrom-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 'flashrom.c')
-rw-r--r-- | flashrom.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -823,7 +823,7 @@ notfound: return -1; /* Fill default layout covering the whole chip. */ - if (flashrom_layout_new(&flash->default_layout, 1) || + if (flashrom_layout_new(&flash->default_layout) || flashrom_layout_add_region(flash->default_layout, 0, flash->chip->total_size * 1024 - 1, "complete flash") || flashrom_layout_include_region(flash->default_layout, "complete flash")) |