From 9899cadcd8cb89fc675d38e59cad73641ddc565c Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sun, 28 Jun 2009 21:47:57 +0000 Subject: Print the bus type(s) of both chipset and chip in the flashrom output Corresponding to flashrom svn r635. Signed-off-by: Uwe Hermann Acked-by: Uwe Hermann --- flashrom.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'flashrom.c') diff --git a/flashrom.c b/flashrom.c index 5791372..a61bf2d 100644 --- a/flashrom.c +++ b/flashrom.c @@ -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; } -- cgit v1.1