nb/intel/pineview: Fix typo in DRAM timing computation

This problem was introduced in:
12a4e98cea nb/intel/pineview/raminit: Refactor timings selection

Change-Id: Iace3dabb8546d7a721ef13526ba02522dc712fdd
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/21214
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
Arthur Heymans 2017-08-26 21:24:21 +02:00
parent afa627db2e
commit 5bb27b7815
1 changed files with 1 additions and 1 deletions

View File

@ -396,7 +396,7 @@ static void sdram_detect_smallest_params(struct sysinfo *s)
mult[s->selected_timings.mem_clock])); mult[s->selected_timings.mem_clock]));
s->selected_timings.tRRD = MIN(15, DIV_ROUND_UP(maxtrrd, s->selected_timings.tRRD = MIN(15, DIV_ROUND_UP(maxtrrd,
mult[s->selected_timings.mem_clock])); mult[s->selected_timings.mem_clock]));
s->selected_timings.tRTP = MIN(15, DIV_ROUND_UP(maxtras, s->selected_timings.tRTP = MIN(15, DIV_ROUND_UP(maxtrtp,
mult[s->selected_timings.mem_clock])); mult[s->selected_timings.mem_clock]));
PRINTK_DEBUG("Selected timings:\n"); PRINTK_DEBUG("Selected timings:\n");