From b6a0a9fb8aacad62558a767b5de12b711e226dc0 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Sat, 7 Oct 2006 00:23:51 +0000 Subject: Tiny patch to show the size of the detected flash part from Uwe Hermann X-Signed-Off-By: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2449 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/flashrom/flash_rom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/flashrom/flash_rom.c') diff --git a/util/flashrom/flash_rom.c b/util/flashrom/flash_rom.c index 28ce567ff4..b9ef45e37d 100644 --- a/util/flashrom/flash_rom.c +++ b/util/flashrom/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? -- cgit v1.2.3