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. 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> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3984 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
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