diff options
author | Nico Huber <nico.h@gmx.de> | 2017-04-22 00:09:42 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2019-06-23 13:06:51 +0000 |
commit | cb44eb7dad17522f47792dca4fc499310ff7d6f3 (patch) | |
tree | 026822102436ac0dcda8d8d007f16757ad73488b /programmer.h | |
parent | 712ba3a0659a70c2e93a55d9e194b2fae6db28d1 (diff) | |
download | flashrom-cb44eb7dad17522f47792dca4fc499310ff7d6f3.tar.gz flashrom-cb44eb7dad17522f47792dca4fc499310ff7d6f3.tar.bz2 flashrom-cb44eb7dad17522f47792dca4fc499310ff7d6f3.zip |
bitbang_spi: Drop bitbang_spi_master_type
It only existed to make maintenance harder and waste our time.
Change-Id: I7a3b5d9ff1e99d2d4f873c6f19fb318f93762037
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/33638
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'programmer.h')
-rw-r--r-- | programmer.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/programmer.h b/programmer.h index 9da49f87c..8f0183ff9 100644 --- a/programmer.h +++ b/programmer.h @@ -159,33 +159,7 @@ extern const struct programmer_entry programmer_table[]; int programmer_init(enum programmer prog, const char *param); int programmer_shutdown(void); -enum bitbang_spi_master_type { - BITBANG_SPI_INVALID = 0, /* This must always be the first entry. */ -#if CONFIG_RAYER_SPI == 1 - BITBANG_SPI_MASTER_RAYER, -#endif -#if CONFIG_PONY_SPI == 1 - BITBANG_SPI_MASTER_PONY, -#endif -#if CONFIG_NICINTEL_SPI == 1 - BITBANG_SPI_MASTER_NICINTEL, -#endif -#if CONFIG_INTERNAL == 1 -#if defined(__i386__) || defined(__x86_64__) - BITBANG_SPI_MASTER_MCP, -#endif -#endif -#if CONFIG_OGP_SPI == 1 - BITBANG_SPI_MASTER_OGP, -#endif -#if CONFIG_DEVELOPERBOX_SPI == 1 - BITBANG_SPI_MASTER_DEVELOPERBOX, -#endif -}; - struct bitbang_spi_master { - enum bitbang_spi_master_type type; - /* Note that CS# is active low, so val=0 means the chip is active. */ void (*set_cs) (int val); void (*set_sck) (int val); |