mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 14:33:18 +02:00
Unsignify lengths and addresses in chip functions and structs
Push those changes forward where needed to prevent new sign conversion warnings where possible. Corresponding to flashrom svn r1470. 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:
@ -22,10 +22,10 @@
|
||||
|
||||
#include "flash.h"
|
||||
|
||||
static void write_lockbits_49fl00x(chipaddr bios, int size,
|
||||
unsigned char bits, int block_size)
|
||||
static void write_lockbits_49fl00x(chipaddr bios, unsigned int size,
|
||||
unsigned char bits, unsigned int block_size)
|
||||
{
|
||||
int i, left = size;
|
||||
unsigned int i, left = size;
|
||||
|
||||
for (i = 0; left >= block_size; i++, left -= block_size) {
|
||||
/* pm49fl002 */
|
||||
|
Reference in New Issue
Block a user