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 | |
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>
-rw-r--r-- | chipset_enable.c | 2 | ||||
-rw-r--r-- | flashrom.c | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/chipset_enable.c b/chipset_enable.c index 670ece7..3c1f7bd 100644 --- a/chipset_enable.c +++ b/chipset_enable.c @@ -1059,6 +1059,8 @@ int chipset_flash_enable(void) else printf("OK.\n"); } + printf("This chipset supports the following protcols: %s.\n", + flashbuses_to_text(buses_supported)); return ret; } @@ -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; } |