summaryrefslogtreecommitdiffstats
path: root/flash.h
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 /flash.h
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 'flash.h')
-rw-r--r--flash.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/flash.h b/flash.h
index 9c6d535..5b49e9d 100644
--- a/flash.h
+++ b/flash.h
@@ -57,13 +57,13 @@ void programmer_delay(int usecs);
#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
enum chipbustype {
- CHIP_BUSTYPE_NONE = 0,
- CHIP_BUSTYPE_PARALLEL = 1 << 0,
- CHIP_BUSTYPE_LPC = 1 << 1,
- CHIP_BUSTYPE_FWH = 1 << 2,
- CHIP_BUSTYPE_SPI = 1 << 3,
- CHIP_BUSTYPE_NONSPI = CHIP_BUSTYPE_PARALLEL | CHIP_BUSTYPE_LPC | CHIP_BUSTYPE_FWH,
- CHIP_BUSTYPE_UNKNOWN = CHIP_BUSTYPE_PARALLEL | CHIP_BUSTYPE_LPC | CHIP_BUSTYPE_FWH | CHIP_BUSTYPE_SPI,
+ BUS_NONE = 0,
+ BUS_PARALLEL = 1 << 0,
+ BUS_LPC = 1 << 1,
+ BUS_FWH = 1 << 2,
+ BUS_SPI = 1 << 3,
+ BUS_NONSPI = BUS_PARALLEL | BUS_LPC | BUS_FWH,
+ BUS_UNKNOWN = BUS_PARALLEL | BUS_LPC | BUS_FWH | BUS_SPI,
};
/*
OpenPOWER on IntegriCloud