Browse Source

Silicon/Hisilicon/D0x: Move dimm size definition to PlatformArch.h

Unify MemorySubClassDxe by Moving dimm size macro definition
to PlatformArch.h

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Sun Yuanchen <sunyuanchen@huawei.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Sun Yuanchen 6 years ago
parent
commit
15fe242ab4

+ 0 - 2
Silicon/Hisilicon/Drivers/Smbios/MemorySubClassDxe/MemorySubClass.h

@@ -44,8 +44,6 @@
 
 extern UINT8 MemorySubClassStrings[];
 
-#define MAX_DIMM_SIZE       32  // In GB
-
 struct SPD_JEDEC_MANUFACTURER
 {
     UINT8  MfgIdLSB;

+ 1 - 0
Silicon/Hisilicon/Hi1610/Include/PlatformArch.h

@@ -26,6 +26,7 @@
 #define MAX_DIMM        3
 #define MAX_RANK_CH     12
 #define MAX_RANK_DIMM   4
+#define MAX_DIMM_SIZE   32  // In GB
 // Max NUMA node number for each node type
 #define MAX_NUM_PER_TYPE 8
 

+ 1 - 0
Silicon/Hisilicon/Hi1616/Include/PlatformArch.h

@@ -26,6 +26,7 @@
 #define MAX_DIMM        3
 #define MAX_RANK_CH     12
 #define MAX_RANK_DIMM   4
+#define MAX_DIMM_SIZE   32  // In GB
 // Max NUMA node number for each node type
 #define MAX_NUM_PER_TYPE 8