Attention is currently required from: Xixi Chen. Hello Xixi Chen,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/52966
to review the following change.
Change subject: TEST-ONLY: vendorcode/mediatek/mt8192: force use 0.6875mV(SHU1) for 3200Mbps ......................................................................
TEST-ONLY: vendorcode/mediatek/mt8192: force use 0.6875mV(SHU1) for 3200Mbps
Signed-off-by: Xi Chen xixi.chen@mediatek.corp-partner.google.com Change-Id: I50d20f66b03506817ba1ab7a55e2f1a516ad5559 --- M src/vendorcode/mediatek/mt8192/dramc/dramc_pi_main.c 1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/66/52966/1
diff --git a/src/vendorcode/mediatek/mt8192/dramc/dramc_pi_main.c b/src/vendorcode/mediatek/mt8192/dramc/dramc_pi_main.c index c228c2c..24d4335 100644 --- a/src/vendorcode/mediatek/mt8192/dramc/dramc_pi_main.c +++ b/src/vendorcode/mediatek/mt8192/dramc/dramc_pi_main.c @@ -1653,6 +1653,9 @@ final_shu = SRAM_SHU0; //DDR4266 #endif
+ // force to SHU1 to use 0.687mV + final_shu = SRAM_SHU1; + vSetDFSFreqSelByTable(p, get_FreqTbl_by_shuffleIndex(p, final_shu)); DramcDFSDirectJump_SRAMShuRGMode(p, SRAM_SHU1); DramcDFSDirectJump_SRAMShuRGMode(p, final_shu);