mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 23:22:37 +02:00
Tiny patch to show the size of the detected flash part
Corresponding to flashrom svn r65 and coreboot v2 svn r2449. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> X-Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
This commit is contained in:
parent
41c47676c2
commit
d1915c1f10
@ -298,7 +298,7 @@ int main(int argc, char *argv[])
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("Flash part is %s\n", flash->name);
|
printf("Flash part is %s (%d KB)\n", flash->name, flash->total_size);
|
||||||
|
|
||||||
if (!filename && !erase_it) {
|
if (!filename && !erase_it) {
|
||||||
// FIXME: Do we really want this feature implicitly?
|
// FIXME: Do we really want this feature implicitly?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user