intel/fsp_rangeley: Use fixed FSB/BCLK value 100 MHz
Prior to commit
d731a24
src/cpu/intel: Set get_ia32_fsb function common
value of 200 was silently used as a default for fsp_rangeley
(model_406dx) in cpu/x86/lapic/apic_timer:set_timer_fsb().
After the commit, get_ia32_fsb() returns -2, eventually
resulting with divide-by-zero in timer_monotonic_get(), as
get_timer_fsb() returns 0.
Add Rangeley CPUID model 0x4d to get_ia32_fsb() as a fix,
using BCLK = 100 MHz based on the comments in
northbridge/intel/fsp_rangeley/udelay.c
Change-Id: I306f85dba9b1e91539fc0ecc9b2ae9d54f82be6c
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33822
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
This commit is contained in:
parent
86dbe0f307
commit
6bdaaefb30
|
@ -46,6 +46,7 @@ static int get_fsb(void)
|
||||||
case 0x3a: /* IvyBridge BCLK fixed at 100MHz */
|
case 0x3a: /* IvyBridge BCLK fixed at 100MHz */
|
||||||
case 0x3c: /* Haswell BCLK fixed at 100MHz */
|
case 0x3c: /* Haswell BCLK fixed at 100MHz */
|
||||||
case 0x45: /* Haswell-ULT BCLK fixed at 100MHz */
|
case 0x45: /* Haswell-ULT BCLK fixed at 100MHz */
|
||||||
|
case 0x4d: /* Rangeley BCLK fixed at 100MHz */
|
||||||
ret = 100;
|
ret = 100;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue