mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 14:33:18 +02:00
FreeBSD definitions of (read|write)[bwl] collide with our own
Before we attempt trickery, we can simply rename the accessor functions. Patch created with the help of Coccinelle. Corresponding to flashrom svn r420 and coreboot v2 svn r3984. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Idwer Vollering <idwer_v@hotmail.com> Acked-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user