src/[arch-lib]: change "unsigned" to "unsigned int"
Signed-off-by: Martin Roth <martin@coreboot.org> Change-Id: Ibb7b48a7a144421aff29acbb7ac30968ae5fe5ab Reviewed-on: https://review.coreboot.org/c/coreboot/+/36329 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
This commit is contained in:
@@ -18,7 +18,7 @@ void init_timer(void)
|
||||
{
|
||||
}
|
||||
|
||||
void udelay(unsigned usecs)
|
||||
void udelay(unsigned int usecs)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
@@ -74,10 +74,10 @@ static inline __attribute__((unused)) int do_normal_boot(void)
|
||||
return boot_use_normal(byte);
|
||||
}
|
||||
|
||||
unsigned read_option_lowlevel(unsigned start, unsigned size, unsigned def)
|
||||
unsigned int read_option_lowlevel(unsigned int start, unsigned int size, unsigned int def)
|
||||
{
|
||||
#if CONFIG(USE_OPTION_TABLE)
|
||||
unsigned byte;
|
||||
unsigned int byte;
|
||||
|
||||
byte = cmos_read(start/8);
|
||||
return (byte >> (start & 7U)) & ((1U << size) - 1U);
|
||||
|
@@ -465,7 +465,7 @@ static u32 tis_senddata(const u8 *const data, u32 len)
|
||||
burst = tpm_read_burst_count(locality);
|
||||
|
||||
while (1) {
|
||||
unsigned count;
|
||||
unsigned int count;
|
||||
|
||||
/* Wait till the device is ready to accept more data. */
|
||||
while (!burst) {
|
||||
|
Reference in New Issue
Block a user