summaryrefslogtreecommitdiffstats
path: root/ichspi.c
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2011-07-27 07:13:06 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2011-07-27 07:13:06 +0000
commit1a227954f2c7d0a25d42bcea2ea0b901ceb0f464 (patch)
treeff9f4d8bbe04e1e80755b43b36b990b74d6845b3 /ichspi.c
parent4deb8c6a7ad0d4290cb7272a11da94139019c6ae (diff)
downloadast2050-flashrom-1a227954f2c7d0a25d42bcea2ea0b901ceb0f464.zip
ast2050-flashrom-1a227954f2c7d0a25d42bcea2ea0b901ceb0f464.tar.gz
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>
Diffstat (limited to 'ichspi.c')
-rw-r--r--ichspi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ichspi.c b/ichspi.c
index 0258626..833c0c3 100644
--- a/ichspi.c
+++ b/ichspi.c
@@ -1381,7 +1381,7 @@ int via_init_spi(struct pci_dev *dev)
ich_spibar = physmap("VT8237S MMIO registers", mmio_base, 0x70);
/* Not sure if it speaks all these bus protocols. */
- buses_supported = CHIP_BUSTYPE_LPC | CHIP_BUSTYPE_FWH;
+ buses_supported = BUS_LPC | BUS_FWH;
register_spi_programmer(&spi_programmer_via);
msg_pdbg("0x00: 0x%04x (SPIS)\n", mmio_readw(ich_spibar + 0));
OpenPOWER on IntegriCloud