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

This reverts commit 40892b0c08
.
The feature of returning progress for libflashrom users was
introduced in original commit, however later a bug was found and
reported as https://ticket.coreboot.org/issues/390.
Reverting in a release branch to unblock release candidate, since
it is unknown how much time needed to fix the bug. Meanwhile the
feature remains in a master branch and will be fixed under
ticket 390.
TEST=scenarios below run successfully
1) flashrom -h does not show --progress
2) flashrom -p dummy:emulate=W25Q128FV -r /tmp/dump.bin
3) flashrom -p dummy:emulate=W25Q128FV -v /tmp/dump.bin
4) flashrom -p dummy:emulate=W25Q128FV -E
5) head -c 16777216 </dev/urandom >/tmp/image.bin
flashrom -p dummy:image=/tmp/image.bin,emulate=W25Q128FV \
-w /tmp/dump.bin
Change-Id: Id3d7ffcaf266a60a44eb453fd09b7c63c05349c2
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
Signed-off-by: Anastasia Klimchuk <aklm@chromium.org>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/69283
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
48 lines
1.3 KiB
Plaintext
48 lines
1.3 KiB
Plaintext
LIBFLASHROM_1.0 {
|
|
global:
|
|
flashrom_board_info;
|
|
flashrom_chipset_info;
|
|
flashrom_data_free;
|
|
flashrom_flag_get;
|
|
flashrom_flag_set;
|
|
flashrom_flash_erase;
|
|
flashrom_flash_getsize;
|
|
flashrom_flash_probe;
|
|
flashrom_flash_release;
|
|
flashrom_flashchip_info;
|
|
flashrom_image_read;
|
|
flashrom_image_verify;
|
|
flashrom_image_write;
|
|
flashrom_init;
|
|
flashrom_layout_add_region;
|
|
flashrom_layout_get_region_range;
|
|
flashrom_layout_include_region;
|
|
flashrom_layout_new;
|
|
flashrom_layout_read_fmap_from_buffer;
|
|
flashrom_layout_read_fmap_from_rom;
|
|
flashrom_layout_read_from_ifd;
|
|
flashrom_layout_release;
|
|
flashrom_layout_set;
|
|
flashrom_programmer_init;
|
|
flashrom_programmer_shutdown;
|
|
flashrom_set_log_callback;
|
|
flashrom_shutdown;
|
|
flashrom_supported_boards;
|
|
flashrom_supported_chipsets;
|
|
flashrom_supported_flash_chips;
|
|
flashrom_version_info;
|
|
flashrom_wp_cfg_new;
|
|
flashrom_wp_cfg_release;
|
|
flashrom_wp_get_available_ranges;
|
|
flashrom_wp_get_mode;
|
|
flashrom_wp_get_range;
|
|
flashrom_wp_ranges_get_count;
|
|
flashrom_wp_ranges_get_range;
|
|
flashrom_wp_ranges_release;
|
|
flashrom_wp_read_cfg;
|
|
flashrom_wp_set_mode;
|
|
flashrom_wp_set_range;
|
|
flashrom_wp_write_cfg;
|
|
local: *;
|
|
};
|