summaryrefslogtreecommitdiff
path: root/util/flashrom/pm49fl00x.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/flashrom/pm49fl00x.c')
-rw-r--r--util/flashrom/pm49fl00x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/flashrom/pm49fl00x.c b/util/flashrom/pm49fl00x.c
index fe8b9741b4..e2ca7b6660 100644
--- a/util/flashrom/pm49fl00x.c
+++ b/util/flashrom/pm49fl00x.c
@@ -35,7 +35,7 @@ void write_lockbits_49fl00x(volatile uint8_t *bios, int size,
if (block_size == 16384 && i % 2)
continue;
- *(bios + (i * block_size) + 2) = bits;
+ writeb(bits, bios + (i * block_size) + 2);
}
}