summaryrefslogtreecommitdiff
path: root/it85spi.c
diff options
context:
space:
mode:
authorhailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2011-07-27 07:13:06 +0000
committerhailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2011-07-27 07:13:06 +0000
commit9f952c201f37c3c11ff7542e2befe6832e4acc71 (patch)
treeff9f4d8bbe04e1e80755b43b36b990b74d6845b3 /it85spi.c
parent892f2a3364206c172be3a2b9d099da9ed2f41d53 (diff)
downloadflashrom-9f952c201f37c3c11ff7542e2befe6832e4acc71.tar.gz
Rename CHIP_BUSTYPE_FOO to BUS_FOO.
It's shorter to type, and we have less problems with the 80 column limit. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1396 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'it85spi.c')
-rw-r--r--it85spi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/it85spi.c b/it85spi.c
index d4ca13b..0107c9b 100644
--- a/it85spi.c
+++ b/it85spi.c
@@ -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. */