From d1915c1f109cc8ab2e35c3b61f7574116f793ebf Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sat, 7 Oct 2006 00:23:51 +0000 Subject: [PATCH] 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 X-Signed-off-by: Stefan Reinauer --- flash_rom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flash_rom.c b/flash_rom.c index 28ce567ff..b9ef45e37 100644 --- a/flash_rom.c +++ b/flash_rom.c @@ -298,7 +298,7 @@ int main(int argc, char *argv[]) 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?