coreboot-kgpe-d16/src
Werner Zeh cd906960df soc/intel/elkhartlake: Fix incorrect divider for MDIO clock
After some measurements it turned out that Elkhart Lake uses a higher
CSR clock internally from which the MDIO clock is derived. In order to
stay compliant with the specification, the MDIO clock needs to be lower
than 2.5 MHz. Therefore, the divider needs to be 102 and not 62.
This patch changes the define to match the new divider value and uses
this new define at the appropriate place.

Test=Measure the MDIO clock rate on mc_ehl2 which results in 2 MHz.

Change-Id: Idf498c3547530dfa395f54488ef244e787062e34
Signed-off-by: Werner Zeh <werner.zeh@siemens.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68669
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Reviewed-by: Frans Hendriks <fhendriks@eltan.com>
2022-10-25 15:06:18 +00:00
..
acpi Revert "drivers/intel/dptf: Add multiple fan support under dptf" 2022-10-20 14:54:09 +00:00
arch arch/x86: x86_64 implies SSE2 support 2022-10-24 12:16:32 +00:00
commonlib util/elogtool: Add support for parsing CrOS diagnostics log 2022-10-14 16:06:39 +00:00
console console/vtxprintf.c: Add <stdarg.h> 2022-10-06 17:00:25 +00:00
cpu cpu/x86/64bit: Fix building with -jx 2022-10-12 12:04:00 +00:00
device device/dram/ddr2: Use 'enum cb_err' instead of 'int' 2022-10-12 13:05:59 +00:00
drivers drivers/tpm: Move TPM init to end of device init phase 2022-10-20 17:22:57 +00:00
ec Revert "drivers/intel/dptf: Add multiple fan support under dptf" 2022-10-20 14:54:09 +00:00
include smbios.h: Add High Bandwidth Memory Generation 3 2022-10-22 05:13:27 +00:00
lib arch/x86: Only use .bss from car.ld when running XIP 2022-10-20 14:43:40 +00:00
mainboard mb/siemens/mc_ehl1: Disable L1 prefetcher 2022-10-25 15:05:35 +00:00
northbridge nb/intel/i945/raminit: Use 'bool' for do_reset 2022-10-22 05:14:35 +00:00
sbom Add SBOM (Software Bill of Materials) Generation 2022-08-22 14:48:46 +00:00
security security/memory/memory.h: Add <stdbool.h> 2022-10-06 17:01:52 +00:00
soc soc/intel/elkhartlake: Fix incorrect divider for MDIO clock 2022-10-25 15:06:18 +00:00
southbridge treewide: Use 'fadt->x_pm2_cnt_blk.addrl = fadt->pm2_cnt_blk' 2022-10-15 16:53:55 +00:00
superio superio/ite/common/early_serial.c: ite_kill_watchdog: set timeout to 0 2022-08-07 19:54:43 +00:00
vendorcode vc/amd/fsp: Get rid of last "sabrina" reference 2022-10-22 01:59:17 +00:00
Kconfig Kconfig: Allow x86 to compress pre-ram stages if not run XIP 2022-10-20 14:48:05 +00:00