summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/vendorcode/amd/cimx/sb800/SBCMN.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vendorcode/amd/cimx/sb800/SBCMN.c b/src/vendorcode/amd/cimx/sb800/SBCMN.c
index 8f1bbf9190..3d4ce82b6d 100644
--- a/src/vendorcode/amd/cimx/sb800/SBCMN.c
+++ b/src/vendorcode/amd/cimx/sb800/SBCMN.c
@@ -640,12 +640,12 @@ abcfgTbl (
while ( (pABTbl->regType) != 0xFF ) {
if ( pABTbl->regType > AXINDC ) {
- ddValue = pABTbl->regIndex | (pABTbl->regType << 29);
+ ddValue = pABTbl->regIndex | ((UINT32) pABTbl->regType << 29);
writeAlink (ddValue, ((readAlink (ddValue)) & (0xFFFFFFFF^ (pABTbl->regMask))) | pABTbl->regData);
} else {
- ddValue = 0x30 | (pABTbl->regType << 29);
+ ddValue = 0x30 | ((UINT32) pABTbl->regType << 29);
writeAlink (ddValue, pABTbl->regIndex);
- ddValue = 0x34 | (pABTbl->regType << 29);
+ ddValue = 0x34 | ((UINT32) pABTbl->regType << 29);
writeAlink (ddValue, ((readAlink (ddValue)) & (0xFFFFFFFF^ (pABTbl->regMask))) | pABTbl->regData);
}
++pABTbl;