commit | 136bf43381af5d528d4d3a13085a5ad63c6e73ef | [log] [tgz] |
---|---|---|
author | Edward O'Callaghan <quasisec@google.com> | Thu Feb 03 14:39:29 2022 +1100 |
committer | Nico Huber <nico.h@gmx.de> | Sun Jan 29 12:29:02 2023 +0000 |
tree | 9f703c86e3932fe70e518571d1373d4eb4052563 | |
parent | b9d63d33a1f66bd9a3c4a4581a6ed4d89fb8400d [diff] |
cli_classic: Use flashrom_flash_getsize() over raw access Use native libflashrom entry-points for getting flash size over accessing internal struct members within cli code. Tested: `sudo ./flashrom -p internal --get-size`. flashrom-stable: Squashed fixup for format string Change-Id: Iff70a0de1dee517c4e38c45b1540c42326a13340 Signed-off-by: Edward O'Callaghan <quasisec@google.com> Original-Reviewed-on: https://review.coreboot.org/c/flashrom/+/61583 Original-Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/flashrom-stable/+/72296 Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>