From 77fee09509807f17d2d8a638b3e72cacb5bcdbc4 Mon Sep 17 00:00:00 2001 From: Richard Spiegel Date: Fri, 10 Nov 2017 08:33:57 -0700 Subject: soc/amd/stoneyridge: Use uint8_t as type for SPD address SPD address is currenty int. It should be uint8_t. BUG=b:62200225 Change-Id: Ia11c5994c41849ba01ecae3cee6fa97c527134d0 Signed-off-by: Richard Spiegel Reviewed-on: https://review.coreboot.org/22300 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/soc/amd/common/dimmSpd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/soc/amd/common') diff --git a/src/soc/amd/common/dimmSpd.h b/src/soc/amd/common/dimmSpd.h index cdcdb731f5..9abdb984d4 100644 --- a/src/soc/amd/common/dimmSpd.h +++ b/src/soc/amd/common/dimmSpd.h @@ -20,7 +20,7 @@ AGESA_STATUS AmdMemoryReadSPD(IN UINT32 Func, IN UINTN Data, IN OUT AGESA_READ_SPD_PARAMS *SpdData); -int sb_readSpd(int spdAddress, char *buf, size_t len); +int sb_readSpd(uint8_t spdAddress, char *buf, size_t len); int smbus_readSpd(int spdAddress, char *buf, size_t len); #endif -- cgit v1.2.3