summaryrefslogtreecommitdiff
path: root/src/soc/amd/stoneyridge/dimmSpd.c
diff options
context:
space:
mode:
authorRichard Spiegel <richard.spiegel@silverbackltd.com>2017-11-10 08:33:57 -0700
committerAaron Durbin <adurbin@chromium.org>2017-11-10 19:11:38 +0000
commit77fee09509807f17d2d8a638b3e72cacb5bcdbc4 (patch)
tree845e6cfee8b6540eacbdc54400f4b226c22b8d65 /src/soc/amd/stoneyridge/dimmSpd.c
parentcd04e31c8beaecb2e4c95ab47934b32b2b5e3b06 (diff)
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 <richard.spiegel@silverbackltd.com> Reviewed-on: https://review.coreboot.org/22300 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/soc/amd/stoneyridge/dimmSpd.c')
-rw-r--r--src/soc/amd/stoneyridge/dimmSpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/amd/stoneyridge/dimmSpd.c b/src/soc/amd/stoneyridge/dimmSpd.c
index 764d10396f..f4507d65f8 100644
--- a/src/soc/amd/stoneyridge/dimmSpd.c
+++ b/src/soc/amd/stoneyridge/dimmSpd.c
@@ -27,7 +27,7 @@
AGESA_STATUS AmdMemoryReadSPD(UINT32 unused1, UINTN unused2,
AGESA_READ_SPD_PARAMS *info)
{
- int spdAddress;
+ uint8_t spdAddress;
DEVTREE_CONST struct device *dev = dev_find_slot(0, DCT_DEVFN);
DEVTREE_CONST struct soc_amd_stoneyridge_config *conf = dev->chip_info;