mirror of
https://review.coreboot.org/flashrom.git
synced 2025-06-30 21:52:36 +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:
14
flash.h
14
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,
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user