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 /libflashrom.h | |
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 'libflashrom.h')
-rw-r--r-- | libflashrom.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libflashrom.h b/libflashrom.h index b13b3fb8..3bd6855d 100644 --- a/libflashrom.h +++ b/libflashrom.h @@ -106,7 +106,7 @@ int flashrom_image_write(struct flashrom_flashctx *, void *buffer, size_t buffer int flashrom_image_verify(struct flashrom_flashctx *, const void *buffer, size_t buffer_len); struct flashrom_layout; -int flashrom_layout_new(struct flashrom_layout **, unsigned int count); +int flashrom_layout_new(struct flashrom_layout **); int flashrom_layout_read_from_ifd(struct flashrom_layout **, struct flashrom_flashctx *, const void *dump, size_t len); int flashrom_layout_read_fmap_from_rom(struct flashrom_layout **, struct flashrom_flashctx *, off_t offset, size_t length); |