mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 06:01:16 +02:00
Use uintptr_t for chipaddr instead of unsigned long
Corresponding to flashrom svn r1698. Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
This commit is contained in:
@ -41,7 +41,7 @@ static int write_lockbits_49lfxxxc(struct flashctx *flash, unsigned char bits)
|
||||
unsigned int i, left = flash->chip->total_size * 1024;
|
||||
unsigned long address;
|
||||
|
||||
msg_cdbg("\nbios=0x%08lx\n", registers);
|
||||
msg_cdbg("\nbios=0x%08" PRIxPTR "\n", registers);
|
||||
for (i = 0; left > 65536; i++, left -= 65536) {
|
||||
write_lockbits_block_49lfxxxc(flash, i * 65536, bits);
|
||||
}
|
||||
|
Reference in New Issue
Block a user