File tree Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -1103,7 +1103,7 @@ typedef union
1103
1103
1104
1104
/* Sources: drivers/edac/amd64_edac.h */
1105
1105
#ifndef SMU_AMD_UMC_BASE_CHA_F17H
1106
- #define SMU_AMD_UMC_BASE_CHA_F17H (_cha ) (0x00050000 + (_cha << 20))
1106
+ #define SMU_AMD_UMC_BASE_CHA_F17H (_cha ) (0x00050000 + (_cha << 20))
1107
1107
#endif
1108
1108
1109
1109
/*
@@ -1264,17 +1264,18 @@ typedef union
1264
1264
} AMD_17_UMC_ECC_CTRL ;
1265
1265
1266
1266
typedef union
1267
- { /* SMU: address = { 0x50df0 , 0x50df1 , 0x50df2 , 0x50df3 } */
1267
+ { /* SMU: address = 0x50df0 */
1268
1268
unsigned int value ;
1269
1269
struct
1270
1270
{
1271
1271
unsigned int
1272
- ReservedBits1 : 4 - 0 ,
1273
- Bit04 : 5 - 4 , /* when DIMM populated ? */
1274
- Bit05 : 6 - 5 , /* when DIMM populated ? */
1275
- ReservedBits2 : 16 - 6 ,
1276
- Bit16 : 17 - 16 , /* when DIMM populated ? */
1277
- ReservedBits3 : 32 - 17 ;
1272
+ DDR_MaxRate : 8 - 0 ,
1273
+ ReservedBits1 : 16 - 8 ,
1274
+ Reg_DIMM_Dis : 17 - 16 , /* 1: RDIMM/LRDIMM support */
1275
+ Disable : 18 - 17 , /* 1: ECC Support disabled */
1276
+ Encryption_Dis : 19 - 18 ,
1277
+ MemChannel_Dis : 20 - 19 ,
1278
+ ReservedBits2 : 32 - 20 ;
1278
1279
};
1279
1280
} AMD_17_UMC_ECC_CAP ;
1280
1281
@@ -1284,9 +1285,10 @@ typedef union
1284
1285
struct
1285
1286
{
1286
1287
unsigned int
1287
- ReservedBits : 30 - 0 ,
1288
- Enable : 31 - 30 ,
1289
- ChipKill : 32 - 31 ;
1288
+ DDR_MaxRateEnf : 8 - 0 ,
1289
+ ReservedBits : 30 - 8 ,
1290
+ Enable : 31 - 30 , /* 1: ECC logic configured */
1291
+ ChipKill : 32 - 31 ; /* 1: ECC chipkill configured */
1290
1292
};
1291
1293
} AMD_17_UMC_ECC_CAP_HI ;
1292
1294
You can’t perform that action at this time.
0 commit comments