summaryrefslogtreecommitdiffstats
path: root/nicintel_spi.c
diff options
context:
space:
mode:
authorEdward O'Callaghan <quasisec@google.com>2022-06-04 20:23:57 +1000
committerEdward O'Callaghan <quasisec@chromium.org>2022-06-10 01:07:19 +0000
commitcba5de5e24bc2d9b9250263060999d081d18db4a (patch)
tree831f2916802aaa52ebd290253500b53c21eb3418 /nicintel_spi.c
parent5613315296821d56e13d98d069ef9a09f811dbd3 (diff)
downloadflashrom-cba5de5e24bc2d9b9250263060999d081d18db4a.tar.gz
flashrom-cba5de5e24bc2d9b9250263060999d081d18db4a.tar.bz2
flashrom-cba5de5e24bc2d9b9250263060999d081d18db4a.zip
tree: Consolidate BIT() macro
Change-Id: I7e61f7671b70ca5ed751d99405714436bcd18d5a Signed-off-by: Edward O'Callaghan <quasisec@google.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/64962 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Diffstat (limited to 'nicintel_spi.c')
-rw-r--r--nicintel_spi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/nicintel_spi.c b/nicintel_spi.c
index 1f1dcff0c..a422d3020 100644
--- a/nicintel_spi.c
+++ b/nicintel_spi.c
@@ -74,8 +74,6 @@
// #define FL_BUSY 30
// #define FL_ER 31
-#define BIT(x) (1<<(x))
-
struct nicintel_spi_data {
uint8_t *spibar;
};