mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
rockchip: rk3399: change emmc clk to 148.5MHz
Set aclk_emmc and clk_emmc to 148.5MHz under hs400es mode, which could improve stability like kernel. CQ-DEPEND=CL:386527 BUG=chrome-os-partner:54377 BRANCH=none TEST=build and boot on kevin Change-Id: If4754d22e83a0f9a029fedca12f26ff5ae8d44e1 Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com> Reviewed-on: https://chromium-review.googlesource.com/386865 Commit-Ready: Julius Werner <jwerner@chromium.org> Tested-by: Julius Werner <jwerner@chromium.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
parent
e8a88bf744
commit
e6eb1f5637
1 changed files with 2 additions and 2 deletions
|
@ -806,8 +806,8 @@ void rkclk_configure_tsadc(unsigned int hz)
|
|||
void rkclk_configure_emmc(void)
|
||||
{
|
||||
int src_clk_div;
|
||||
int aclk_emmc = 198*MHz;
|
||||
int clk_emmc = 198*MHz;
|
||||
int aclk_emmc = 148500*KHz;
|
||||
int clk_emmc = 148500*KHz;
|
||||
|
||||
/* Select aclk_emmc source from GPLL */
|
||||
src_clk_div = GPLL_HZ / aclk_emmc;
|
||||
|
|
Loading…
Add table
Reference in a new issue