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 | 9899cadcd8cb89fc675d38e59cad73641ddc565c (patch) | |
tree | 5fbe073c750f46b2a29e0f94a42650b1efb7c180 | |
parent | 038a312bc641262c8e31f9972ab2ba49bfca1b13 (diff) | |
download | ast2050-flashrom-9899cadcd8cb89fc675d38e59cad73641ddc565c.zip ast2050-flashrom-9899cadcd8cb89fc675d38e59cad73641ddc565c.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; } |