diff options
-rw-r--r-- | src/include/spd_bin.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/include/spd_bin.h b/src/include/spd_bin.h index d0cdefcac1..c51e449559 100644 --- a/src/include/spd_bin.h +++ b/src/include/spd_bin.h @@ -3,6 +3,7 @@ #ifndef SPD_BIN_H #define SPD_BIN_H +#include <device/dram/ddr3.h> #include <stdint.h> #include <commonlib/region.h> @@ -27,11 +28,11 @@ #define DDR3_BUS_DEV_WIDTH 8 #define DDR4_ORGANIZATION 12 #define DDR4_BUS_DEV_WIDTH 13 -#define DDR3_SPD_PART_OFF 128 -#define DDR3_SPD_PART_LEN 18 +#define DDR3_SPD_PART_OFF SPD_DDR3_PART_NUM +#define DDR3_SPD_PART_LEN SPD_DDR3_PART_LEN #define DDR3_SPD_SN_OFF 122 -#define LPDDR3_SPD_PART_OFF 128 -#define LPDDR3_SPD_PART_LEN 18 +#define LPDDR3_SPD_PART_OFF SPD_DDR3_PART_NUM +#define LPDDR3_SPD_PART_LEN SPD_DDR3_PART_LEN #define DDR4_SPD_PART_OFF 329 #define DDR4_SPD_PART_LEN 20 #define DDR4_SPD_SN_OFF 325 |