1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-27 23:22:37 +02:00

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>
This commit is contained in:
Uwe Hermann 2009-06-28 21:47:57 +00:00
parent 038a312bc6
commit 9899cadcd8
2 changed files with 6 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;
}