summaryrefslogtreecommitdiffstats
path: root/src/vendorcode
diff options
context:
space:
mode:
authorSimon Yang <simon1.yang@intel.com>2021-12-09 19:42:24 +0800
committerNico Huber <nico.h@gmx.de>2022-01-01 14:19:53 +0000
commit355fb2fb984cc264f4452d4bbffbd3666c71906e (patch)
tree3ca8e38881caaf361ab93b9cecd8f0bd073102bb /src/vendorcode
parente7f1f6be867dd043ca05bf24d2b7e0cfa56f80f0 (diff)
downloadcoreboot-355fb2fb984cc264f4452d4bbffbd3666c71906e.tar.gz
coreboot-355fb2fb984cc264f4452d4bbffbd3666c71906e.tar.bz2
coreboot-355fb2fb984cc264f4452d4bbffbd3666c71906e.zip
soc/intel/jasperlake: Add CdClock frequency config
Add a devicetree setting to configure the CdClock (Core Display Clock) frequency through a FSP UPD. Because the value for this UPD's default setting is non-zero and devicetree settings default to 0 if not set, adapt the devicetree values so that the value for the UPD's default setting is used when the devicetree setting is zero. Also update the comment describing the FSP UPD in the header file FspsUpd.h to match the correct CdClock definition. BUG=b:206557434 BRANCH=dedede TEST=Build fw and confirm FSP setting are set properly by log Signed-off-by: Simon Yang <simon1.yang@intel.com> Change-Id: I917c2f10b130b0cd54f60e2ba98eb971d5ec3c97 Reviewed-on: https://review.coreboot.org/c/coreboot/+/60009 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/vendorcode')
-rw-r--r--src/vendorcode/intel/fsp/fsp2_0/jasperlake/FspsUpd.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/vendorcode/intel/fsp/fsp2_0/jasperlake/FspsUpd.h b/src/vendorcode/intel/fsp/fsp2_0/jasperlake/FspsUpd.h
index dd7db9dae309..02d9d76616b8 100644
--- a/src/vendorcode/intel/fsp/fsp2_0/jasperlake/FspsUpd.h
+++ b/src/vendorcode/intel/fsp/fsp2_0/jasperlake/FspsUpd.h
@@ -875,11 +875,8 @@ typedef struct {
UINT8 PavpEnable;
/** Offset 0x0436 - CdClock Frequency selection
- 0: (Default) Auto (Max based on reference clock frequency), 1: 172.8 Mhz, 2: 180
- Mhz, 3: 190 Mhz, 4: 307.2 Mhz, 5: 312 Mhz, 6: 552 Mhz, 7: 556.8 Mhz, 8: 648 Mhz,
- 9: 652.8 Mhz
- 0: Auto (Max based on reference clock frequency), 1: 172.8 Mhz, 2: 180 Mhz, 3: 190
- Mhz, 4: 307.2 Mhz, 5: 312 Mhz, 6: 552 Mhz, 7: 556.8 Mhz, 8: 648 Mhz, 9: 652.8 Mhz
+ 0: 172.8 MHz, 1: 180 MHz, 2: 192 MHz, 3: 307 MHz, 4: 312 MHz, 5: 552 MHz, 6: 556.8 MHz,
+ 7: 648 MHz, 8: 652.8 MHz, 0xff: 648 MHz (Default)
**/
UINT8 CdClock;