aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/supermicro/h8qme_fam10/romstage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/supermicro/h8qme_fam10/romstage.c')
-rw-r--r--src/mainboard/supermicro/h8qme_fam10/romstage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/supermicro/h8qme_fam10/romstage.c b/src/mainboard/supermicro/h8qme_fam10/romstage.c
index ddbb97ca6d..f438400f37 100644
--- a/src/mainboard/supermicro/h8qme_fam10/romstage.c
+++ b/src/mainboard/supermicro/h8qme_fam10/romstage.c
@@ -55,7 +55,7 @@
#define SMBUS_SWITCH2 0x72
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;
inline void activate_spd_rom(const struct mem_controller *ctrl)
@@ -64,7 +64,7 @@ inline void activate_spd_rom(const struct mem_controller *ctrl)
smbus_send_byte(SMBUS_SWITCH2, (5 >> 4) & 0x0f);
}
-inline int spd_read_byte(unsigned device, unsigned address)
+inline int spd_read_byte(unsigned int device, unsigned int address)
{
return smbus_read_byte(device, address);
}