mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 22:21:16 +02:00
Rename CHIP_BUSTYPE_FOO to BUS_FOO
It's shorter to type, and we have less problems with the 80 column limit. Corresponding to flashrom svn r1396. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
This commit is contained in:
@ -293,7 +293,7 @@ int it85xx_spi_init(struct superio s)
|
||||
{
|
||||
int ret;
|
||||
|
||||
if (!(buses_supported & CHIP_BUSTYPE_FWH)) {
|
||||
if (!(buses_supported & BUS_FWH)) {
|
||||
msg_pdbg("%s():%d buses not support FWH\n", __func__, __LINE__);
|
||||
return 1;
|
||||
}
|
||||
@ -302,7 +302,7 @@ int it85xx_spi_init(struct superio s)
|
||||
if (!ret) {
|
||||
msg_pdbg("%s():%d buses_supported=0x%x\n", __func__, __LINE__,
|
||||
buses_supported);
|
||||
if (buses_supported & CHIP_BUSTYPE_FWH)
|
||||
if (buses_supported & BUS_FWH)
|
||||
msg_pdbg("Overriding chipset SPI with IT85 FWH|SPI.\n");
|
||||
/* Really leave FWH enabled? */
|
||||
/* Set this as spi controller. */
|
||||
|
Reference in New Issue
Block a user