summaryrefslogtreecommitdiffstats
path: root/flash_rom.c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2006-10-07 00:23:51 +0000
committerStefan Reinauer <stefan.reinauer@coreboot.org>2006-10-07 00:23:51 +0000
commitd1915c1f109cc8ab2e35c3b61f7574116f793ebf (patch)
tree0164843a604127a2deabdbdd8f2cf7603eda5c7c /flash_rom.c
parent41c47676c2e02dddeae229def09abd3e4004da18 (diff)
downloadast2050-flashrom-d1915c1f109cc8ab2e35c3b61f7574116f793ebf.zip
ast2050-flashrom-d1915c1f109cc8ab2e35c3b61f7574116f793ebf.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> X-Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Diffstat (limited to 'flash_rom.c')
-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