FreeBSD definitions of (read|write)[bwl] collide with our own. Before we
[coreboot.git] / util / flashrom / pm49fl00x.c
index e2ca7b6660af9f140a1531f14cf32d6d31fed052..86f3497185a1b3b2fb1c80532befb3c690b1150a 100644 (file)
@@ -35,7 +35,7 @@ void write_lockbits_49fl00x(volatile uint8_t *bios, int size,
                if (block_size == 16384 && i % 2)
                        continue;
 
-               writeb(bits, bios + (i * block_size) + 2);
+               chip_writeb(bits, bios + (i * block_size) + 2);
        }
 }