summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2006-10-07 00:23:51 +0000
committerStefan Reinauer <stepan@openbios.org>2006-10-07 00:23:51 +0000
commitb6a0a9fb8aacad62558a767b5de12b711e226dc0 (patch)
treec631433077c4d94a8134002744d2445696d4a849
parentf694db93807fbda6d7ed60378f1046a1cdf3aa97 (diff)
downloadcoreboot-b6a0a9fb8aacad62558a767b5de12b711e226dc0.tar.xz
Tiny patch to show the size of the detected flash part
from Uwe Hermann <uwe@hermann-uwe.de> X-Signed-Off-By: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2449 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--util/flashrom/flash_rom.c2
1 files changed, 1 insertions, 1 deletions
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?