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>
diff --git a/flash_rom.c b/flash_rom.c
index 28ce567..b9ef45e 100644
--- a/flash_rom.c
+++ b/flash_rom.c
@@ -298,7 +298,7 @@
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) {
// FIXME: Do we really want this feature implicitly?