coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
romstage.c File Reference
#include <arch/stages.h>
#include <delay.h>
#include <soc/clkbuf.h>
#include <soc/emi.h>
#include <soc/mt6315.h>
#include <soc/mt6359p.h>
#include <soc/pll_common.h>
#include <soc/pmif.h>
#include <soc/rtc.h>
#include <soc/srclken_rc.h>
Include dependency graph for romstage.c:

Go to the source code of this file.

Functions

static void raise_little_cpu_freq (void)
 
void platform_romstage_main (void)
 

Function Documentation

◆ platform_romstage_main()

void platform_romstage_main ( void  )

Definition at line 23 of file romstage.c.

References clk_buf_init(), mt6315_init(), mt6359p_init(), mtk_dram_init(), mtk_pmif_init(), raise_little_cpu_freq(), rtc_boot(), and srclken_rc_init().

Here is the call graph for this function:

◆ raise_little_cpu_freq()

static void raise_little_cpu_freq ( void  )
static

Definition at line 14 of file romstage.c.

References MHz, MT6315_BUCK_3, mt6315_buck_set_voltage(), MT6315_CPU, mt6359p_buck_set_voltage(), MT6359P_SRAM_PROC2, mt_pll_raise_cci_freq(), mt_pll_raise_little_cpu_freq(), and udelay().

Referenced by platform_romstage_main().

Here is the call graph for this function:
Here is the caller graph for this function: