mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 07:02:34 +02:00

Projects using libflashrom like fwupd expect the user to wait for the operation to complete. To avoid the user thinking the process has "hung" or "got stuck" report back the progress complete of the erase, write and read operations. Add a new --progress flag to the CLI to report progress of operations. Include a test for the dummy spi25 device. TEST=./test_build.sh; ./flashrom -p lspcon_i2c_spi:bus=7 -r /dev/null --progress Change-Id: I7197572bb7f19e3bdb2bde855d70a0f50fd3854c Signed-off-by: Richard Hughes <richard@hughsie.com> Signed-off-by: Daniel Campello <campello@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/49643 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-by: Thomas Heijligen <src@posteo.de>
32 lines
826 B
Plaintext
32 lines
826 B
Plaintext
LIBFLASHROM_1.0 {
|
|
global:
|
|
flashrom_board_info;
|
|
flashrom_chipset_info;
|
|
flashrom_data_free;
|
|
flashrom_flag_get;
|
|
flashrom_flag_set;
|
|
flashrom_flashchip_info;
|
|
flashrom_flash_erase;
|
|
flashrom_flash_getsize;
|
|
flashrom_flash_probe;
|
|
flashrom_flash_release;
|
|
flashrom_image_read;
|
|
flashrom_image_verify;
|
|
flashrom_image_write;
|
|
flashrom_init;
|
|
flashrom_layout_get_region_range;
|
|
flashrom_layout_include_region;
|
|
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_set_progress_callback;
|
|
flashrom_shutdown;
|
|
flashrom_version_info;
|
|
local: *;
|
|
};
|