summaryrefslogtreecommitdiffstats
path: root/nicintel_eeprom.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_eeprom.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_eeprom.c')
-rw-r--r--nicintel_eeprom.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/nicintel_eeprom.c b/nicintel_eeprom.c
index af5fa2162..efd4232c3 100644
--- a/nicintel_eeprom.c
+++ b/nicintel_eeprom.c
@@ -69,7 +69,6 @@
#define EEWR_ADDR 2
#define EEWR_DATA 16
-#define BIT(x) (1<<x)
#define EE_PAGE_MASK 0x3f
static uint8_t *nicintel_eebar;