mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 14:11:15 +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:
6
ichspi.c
6
ichspi.c
@ -1278,7 +1278,8 @@ int ich_hwseq_block_erase(struct flashchip *flash,
|
||||
return 0;
|
||||
}
|
||||
|
||||
int ich_hwseq_read(struct flashchip *flash, uint8_t *buf, int addr, int len)
|
||||
int ich_hwseq_read(struct flashchip *flash, uint8_t *buf, unsigned int addr,
|
||||
unsigned int len)
|
||||
{
|
||||
uint16_t hsfc;
|
||||
uint16_t timeout = 100 * 60;
|
||||
@ -1315,7 +1316,8 @@ int ich_hwseq_read(struct flashchip *flash, uint8_t *buf, int addr, int len)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int ich_hwseq_write(struct flashchip *flash, uint8_t *buf, int addr, int len)
|
||||
int ich_hwseq_write(struct flashchip *flash, uint8_t *buf, unsigned int addr,
|
||||
unsigned int len)
|
||||
{
|
||||
uint16_t hsfc;
|
||||
uint16_t timeout = 100 * 60;
|
||||
|
Reference in New Issue
Block a user