Attention is currently required from: Hung-Te Lin, Yidi Lin, Yu-Ping Wu.
Jarried Lin has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/85843?usp=email )
Change subject: mb/google/rauru: Initialize clkbuf and srclken in romstage ......................................................................
mb/google/rauru: Initialize clkbuf and srclken in romstage
BUG=b:317009620 TEST=Build pass. Check boot log: srclken: [INFO ] RG_CENTRAL_CFG1 : 0x104014e5 [INFO ] RG_CENTRAL_CFG2 : 0x1011 [INFO ] RG_CENTRAL_CFG3 : 0x400f [INFO ] RG_CENTRAL_CFG5 : 0x3bfc1761 [INFO ] RG_CENTRAL_CFG6_1 : 0xffffffff [INFO ] RG_CENTRAL_CFG6_2 : 0x110e clkbuf: [INFO ] clk_buf_dump_clkbuf_log: xo_buf_cw(0x79A ~ 0x7A6): [INFO ] 0xb9/0xb9/0x30/0x30/0x30/0x10/0x9/0x10/0x10/0x10/0x10/0x10/0x10 [INFO ] clk_buf_dump_clkbuf_log: xo_buf_vote(0x54C ~ 0x565): [INFO ] 0x1/0x280/0x0/0x0/0x0/0x0/0x2000/0x0/0x0/0x0/0x0/0x0/0x0/
Change-Id: I9a6f93d3ec27944bea72bbadf95a03a54a8a0662 Signed-off-by: ot_song fan ot_song.fan@mediatek.corp-partner.google.com --- M src/mainboard/google/rauru/romstage.c 1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/43/85843/1
diff --git a/src/mainboard/google/rauru/romstage.c b/src/mainboard/google/rauru/romstage.c index afd12c6..de6baf9 100644 --- a/src/mainboard/google/rauru/romstage.c +++ b/src/mainboard/google/rauru/romstage.c @@ -1,6 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */
#include <arch/stages.h> +#include <soc/clkbuf_ctl.h> #include <soc/emi.h> #include <soc/irq2axi.h> #include <soc/mt6316.h> @@ -11,6 +12,7 @@ #include <soc/pcie.h> #include <soc/pll.h> #include <soc/pmif.h> +#include <soc/srclken_rc.h>
static void raise_little_cpu_freq(void) { @@ -32,6 +34,8 @@ raise_little_cpu_freq(); mt6373_init(); mt6685_init(); + srclken_rc_init(); + clk_buf_init(); mtk_dram_init();
if (CONFIG(PCI))