From b60920df52afd16e0b203313409951e41e0c49c0 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Thu, 20 Sep 2018 17:38:38 +0200 Subject: northbridge: Use 'unsigned int' to bare use of 'unsigned' Change-Id: Ib70eb33fac654a773ea39a5fd4206435dffdabb7 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/28702 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/northbridge/amd/amdfam10/raminit_amdmct.c | 2 +- src/northbridge/amd/lx/raminit.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/northbridge/amd') diff --git a/src/northbridge/amd/amdfam10/raminit_amdmct.c b/src/northbridge/amd/amdfam10/raminit_amdmct.c index ef54de529a..2843b92212 100644 --- a/src/northbridge/amd/amdfam10/raminit_amdmct.c +++ b/src/northbridge/amd/amdfam10/raminit_amdmct.c @@ -32,7 +32,7 @@ struct sys_info sysinfo_car CAR_GLOBAL; struct mem_controller; extern void activate_spd_rom(const struct mem_controller *ctrl); -extern int spd_read_byte(unsigned device, unsigned address); +extern int spd_read_byte(unsigned int device, unsigned int address); void fam15h_switch_dct(uint32_t dev, uint8_t dct) { diff --git a/src/northbridge/amd/lx/raminit.h b/src/northbridge/amd/lx/raminit.h index 3a5d571c76..d1068627b7 100644 --- a/src/northbridge/amd/lx/raminit.h +++ b/src/northbridge/amd/lx/raminit.h @@ -30,6 +30,6 @@ void sdram_enable(int controllers, const struct mem_controller *ctrl); void sdram_initialize(int controllers, const struct mem_controller *ctrl); /* mainboard specific */ -int spd_read_byte(unsigned device, unsigned address); +int spd_read_byte(unsigned int device, unsigned int address); #endif -- cgit v1.2.3