summaryrefslogtreecommitdiff
path: root/src/northbridge/amd
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-09-20 17:38:38 +0200
committerMartin Roth <martinroth@google.com>2018-09-25 14:12:43 +0000
commitb60920df52afd16e0b203313409951e41e0c49c0 (patch)
tree70dd1db65378147b0431209c97e79e113341fb67 /src/northbridge/amd
parentdd35e2c8a9ee7e1d9b2442b7059d8f9de6256da5 (diff)
northbridge: Use 'unsigned int' to bare use of 'unsigned'
Change-Id: Ib70eb33fac654a773ea39a5fd4206435dffdabb7 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/28702 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/northbridge/amd')
-rw-r--r--src/northbridge/amd/amdfam10/raminit_amdmct.c2
-rw-r--r--src/northbridge/amd/lx/raminit.h2
2 files changed, 2 insertions, 2 deletions
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