Author: uwe
Date: 2009-06-28 23:47:57 +0200 (Sun, 28 Jun 2009)
New Revision: 635

Modified:
   trunk/chipset_enable.c
   trunk/flashrom.c
Log:
Print the bus type(s) of both chipset and chip in the flashrom
output (trivial).

Signed-off-by: Uwe Hermann <[email protected]>
Acked-by: Uwe Hermann <[email protected]>



Modified: trunk/chipset_enable.c
===================================================================
--- trunk/chipset_enable.c      2009-06-28 19:19:25 UTC (rev 634)
+++ trunk/chipset_enable.c      2009-06-28 21:47:57 UTC (rev 635)
@@ -1059,6 +1059,8 @@
                else
                        printf("OK.\n");
        }
+       printf("This chipset supports the following protcols: %s.\n",
+              flashbuses_to_text(buses_supported));
 
        return ret;
 }

Modified: trunk/flashrom.c
===================================================================
--- trunk/flashrom.c    2009-06-28 19:19:25 UTC (rev 634)
+++ trunk/flashrom.c    2009-06-28 21:47:57 UTC (rev 635)
@@ -380,8 +380,10 @@
        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;
 }
 


-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to