Skip to content

Commit

Permalink
T440P: Add support for DDR3L-1866 and DDR3L-2133
Browse files Browse the repository at this point in the history
  • Loading branch information
archfan committed Nov 28, 2019
1 parent 73f9955 commit fa66c85
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mainboard/lenovo/t440p/romstage.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ void mainboard_romstage_entry(void)
.gbe_enable = 1,
.dimm_channel0_disabled = 2,
.dimm_channel1_disabled = 2,
.max_ddr3_freq = 1600,
.max_ddr3_freq = 2133,
.usb2_ports = {
/* Length, Enable, OCn#, Location */
{ 0x0040, 1, 0, USB_PORT_BACK_PANEL }, /* USB3 */
Expand Down
4 changes: 3 additions & 1 deletion src/northbridge/intel/haswell/do_raminit_frag.c
Original file line number Diff line number Diff line change
Expand Up @@ -560,14 +560,16 @@ void fill_ram_param(pei_ram_param *param, struct pei_data *pd)

int freq = pd->max_ddr3_freq;
switch (freq) {
case 2133:
case 1866:
case 1600:
case 1333:
case 1067:
case 800:
param->max_ddr3_freq = freq;
break;
default:
printk(BIOS_ERR, "System Agent: Unsupported DDR3 frequence %d (Supported are 800, 1067, 1333, 1600)", freq);
printk(BIOS_ERR, "System Agent: Unsupported DDR3 frequence %d (Supported are 800, 1067, 1333, 1600, 1866, 2133)", freq);
die("System halted.");
}
}

0 comments on commit fa66c85

Please sign in to comment.