soc/intel/xeon_sp: Use <spd.h>
Change-Id: Ib86df42c74474ab6d0bd389073c36ca0761748af Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/82353 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Shuo Liu <shuo.liu@intel.com>
This commit is contained in:
		| @@ -9,7 +9,6 @@ | ||||
|  * currently DDR4 only supports 1.2V, DDR5 only supports 1.1V. */ | ||||
| #define SPD_VDD_DDR4 3 | ||||
| #define SPD_VDD_DDR5 0 | ||||
| #define SPD_TYPE_DDR5 0x12 | ||||
|  | ||||
| /* DDR_*_TCK_MIN are in picoseconds */ | ||||
| #define DDR_800_TCK_MIN                2500 | ||||
|   | ||||
| @@ -13,6 +13,7 @@ | ||||
| #include <fsp/util.h> | ||||
| #include <hob_iiouds.h> | ||||
| #include <hob_memmap.h> | ||||
| #include <spd.h> | ||||
| #include <soc/chip_common.h> | ||||
| #include <soc/romstage.h> | ||||
| #include <soc/pci_devs.h> | ||||
| @@ -330,7 +331,7 @@ void save_dimm_info(void) | ||||
|  | ||||
| 				dest_dimm->soc_num = soc; | ||||
|  | ||||
| 				if (hob->DramType == SPD_TYPE_DDR5) { | ||||
| 				if (hob->DramType == SPD_MEMORY_TYPE_DDR5_SDRAM) { | ||||
| 					/* hard-coded memory device type as DDR5 */ | ||||
| 					mem_dev_type = 0x22; | ||||
| 					data_width = 64; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user