summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2006-10-07 00:23:51 +0000
committerStefan Reinauer <stepan@coresystems.de>2006-10-07 00:23:51 +0000
commit598cf9a09d087bcc5d7fea385488f48f3d677be7 (patch)
tree0164843a604127a2deabdbdd8f2cf7603eda5c7c
parentd4a518fa34792cfec76e60caf520452bb496bb3c (diff)
downloadflashrom-598cf9a09d087bcc5d7fea385488f48f3d677be7.zip
flashrom-598cf9a09d087bcc5d7fea385488f48f3d677be7.tar.gz
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> Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
-rw-r--r--flash_rom.c2
1 files changed, 1 insertions, 1 deletions
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 @@ 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?
OpenPOWER on IntegriCloud