diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2009-06-28 21:47:57 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2009-06-28 21:47:57 +0000 |
commit | 22d645c7915da4245583bc65dd502b2bf4695578 (patch) | |
tree | 5fbe073c750f46b2a29e0f94a42650b1efb7c180 /flashrom.c | |
parent | 0fa0c685af0c65adef85e1fb1e8bae91aee732cc (diff) | |
download | flashrom-22d645c7915da4245583bc65dd502b2bf4695578.zip flashrom-22d645c7915da4245583bc65dd502b2bf4695578.tar.gz |
Print the bus type(s) of both chipset and chip in the flashrom output
Corresponding to flashrom svn r635.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Diffstat (limited to 'flashrom.c')
-rw-r--r-- | flashrom.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -380,8 +380,10 @@ notfound: if (!flash || !flash->name) return NULL; - printf("Found chip \"%s %s\" (%d KB) at physical address 0x%lx.\n", - flash->vendor, flash->name, flash->total_size, base); + printf("Found chip \"%s %s\" (%d KB, %s) at physical address 0x%lx.\n", + flash->vendor, flash->name, flash->total_size, + flashbuses_to_text(flash->bustype), base); + return flash; } |