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
This commit is contained in:
Stefan Reinauer 2006-10-07 00:23:51 +00:00 committed by Stefan Reinauer
parent f694db9380
commit b6a0a9fb8a
1 changed files with 1 additions and 1 deletions

View File

@ -298,7 +298,7 @@ int main(int argc, char *argv[])
exit(1); 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) { if (!filename && !erase_it) {
// FIXME: Do we really want this feature implicitly? // FIXME: Do we really want this feature implicitly?