diff options
author | Bo-Chen Chen <rex-bc.chen@mediatek.com> | 2022-08-18 18:28:27 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-08-31 16:47:22 +0000 |
commit | dcdbda5c93bedbce202e2f55903a7f52dd4f84f6 (patch) | |
tree | a758281a6969a115bba5b366dba09f75622b20b9 /src/mainboard | |
parent | c0797f50e12b2c01701663d603d4b0112988877d (diff) |
soc/mediatek/mt8188: Use MHz as unit for current_clk
The unit of current_clk in pmif_ulposc_check() should be MHz. We use
pmif_get_ulposc_freq_mhz() to get the default hardware value in MHz.
Without this modification, the judgement in pmif_ulposc_check() is
alway wrong due to the wrong unit.
TEST=build pass.
BUG=b:233720142
Signed-off-by: Bo-Chen Chen <rex-bc.chen@mediatek.com>
Change-Id: I3bf80a23bb35ff657023eb4b7e009fa233f61244
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66971
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'src/mainboard')
0 files changed, 0 insertions, 0 deletions