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> Reviewed-on: https://review.coreboot.org/c/coreboot/+/85843 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
This commit is contained in:
parent
61f46fa7c0
commit
8682d8f2e5
1 changed files with 4 additions and 0 deletions
|
|
@ -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/modem_power_ctrl.h>
|
||||
|
|
@ -12,6 +13,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)
|
||||
{
|
||||
|
|
@ -33,6 +35,8 @@ void platform_romstage_main(void)
|
|||
raise_little_cpu_freq();
|
||||
mt6373_init();
|
||||
mt6685_init();
|
||||
srclken_rc_init();
|
||||
clk_buf_init();
|
||||
mtk_dram_init();
|
||||
modem_power_down();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue