summaryrefslogtreecommitdiff
path: root/src/mainboard/asus/kgpe-d16
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-09-20 17:33:50 +0200
committerMartin Roth <martinroth@google.com>2018-09-25 14:12:27 +0000
commitdd35e2c8a9ee7e1d9b2442b7059d8f9de6256da5 (patch)
tree1638e5941228f05fc249a65ca3c023f57f83bdd8 /src/mainboard/asus/kgpe-d16
parentae7bd1eb23d878d22a2473bd61440377dff77df4 (diff)
downloadcoreboot-dd35e2c8a9ee7e1d9b2442b7059d8f9de6256da5.tar.xz
mb: Use 'unsigned int' to bare use of 'unsigned'
Change-Id: I3a8e077656df02912b4e67c3947bd5af054a18bf Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/28701 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/asus/kgpe-d16')
-rw-r--r--src/mainboard/asus/kgpe-d16/romstage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/asus/kgpe-d16/romstage.c b/src/mainboard/asus/kgpe-d16/romstage.c
index 95fe630b9c..98bb1cab8e 100644
--- a/src/mainboard/asus/kgpe-d16/romstage.c
+++ b/src/mainboard/asus/kgpe-d16/romstage.c
@@ -54,10 +54,10 @@
#define SERIAL_1_DEV PNP_DEV(0x2e, W83667HG_A_SP2)
void activate_spd_rom(const struct mem_controller *ctrl);
-int spd_read_byte(unsigned device, unsigned address);
+int spd_read_byte(unsigned int device, unsigned int address);
extern struct sys_info sysinfo_car;
-int spd_read_byte(unsigned device, unsigned address)
+int spd_read_byte(unsigned int device, unsigned int address)
{
return do_smbus_read_byte(SMBUS_AUX_IO_BASE, device, address);
}