summaryrefslogtreecommitdiff
path: root/src/include/device/dram/ddr2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/device/dram/ddr2.h')
-rw-r--r--src/include/device/dram/ddr2.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/device/dram/ddr2.h b/src/include/device/dram/ddr2.h
index 9277ffbc02..032d5ce4cc 100644
--- a/src/include/device/dram/ddr2.h
+++ b/src/include/device/dram/ddr2.h
@@ -18,6 +18,9 @@
#include <spd.h>
#include <device/dram/common.h>
+/** Maximum SPD size supported */
+#define SPD_SIZE_MAX_DDR2 128
+
/* Byte 20 [5:0]: DDR2 Module type information */
enum spd_dimm_type_ddr2 {
SPD_DDR2_DIMM_TYPE_UNDEFINED = 0x00,
@@ -151,9 +154,6 @@ struct dimm_attr_ddr2_st {
u32 serial;
};
-/** Maximum SPD size supported */
-#define SPD_SIZE_MAX_DDR2 128
-
int spd_dimm_is_registered_ddr2(enum spd_dimm_type_ddr2 type);
u8 spd_ddr2_calc_checksum(u8 *spd, int len);
u32 spd_decode_spd_size_ddr2(u8 byte0);