diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2006-10-07 00:23:51 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@coresystems.de> | 2006-10-07 00:23:51 +0000 |
commit | 598cf9a09d087bcc5d7fea385488f48f3d677be7 (patch) | |
tree | 0164843a604127a2deabdbdd8f2cf7603eda5c7c | |
parent | d4a518fa34792cfec76e60caf520452bb496bb3c (diff) | |
download | flashrom-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.c | 2 |
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? |