coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
early_fch.c File Reference
#include <amdblocks/acpimmio.h>
#include <amdblocks/lpc.h>
#include <amdblocks/pmlib.h>
#include <amdblocks/reset.h>
#include <amdblocks/smbus.h>
#include <amdblocks/spi.h>
#include <soc/southbridge.h>
#include <types.h>
Include dependency graph for early_fch.c:

Go to the source code of this file.

Functions

static void sb_enable_lpc (void)
 
static void sb_lpc_decode (void)
 
static void setup_spread_spectrum (int *reboot)
 
static void setup_misc (int *reboot)
 
void bootblock_fch_early_init (void)
 
void bootblock_fch_init (void)
 
void fch_clk_output_48Mhz (u32 osc)
 

Function Documentation

◆ bootblock_fch_early_init()

◆ bootblock_fch_init()

void bootblock_fch_init ( void  )

Definition at line 145 of file early_fch.c.

References fch_print_pmxc0_status(), pm_set_power_failure_state(), and show_spi_speeds_and_modes().

Referenced by bootblock_soc_init().

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

◆ fch_clk_output_48Mhz()

void fch_clk_output_48Mhz ( u32  osc)

Definition at line 152 of file early_fch.c.

References MISC_CLK_CNTL1, misc_read32(), misc_write32(), OSCOUT1_CLK_OUTPUT_ENB, and OSCOUT2_CLK_OUTPUT_ENB.

Here is the call graph for this function:

◆ sb_enable_lpc()

static void sb_enable_lpc ( void  )
static

Definition at line 12 of file early_fch.c.

References pm_io_read8(), pm_io_write8(), PM_LPC_ENABLE, and PM_LPC_GATING.

Referenced by bootblock_fch_early_init().

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

◆ sb_lpc_decode()

◆ setup_misc()

static void setup_misc ( int *  reboot)
static

Definition at line 101 of file early_fch.c.

References BIT, misc_read32(), and misc_write32().

Referenced by bootblock_fch_early_init().

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

◆ setup_spread_spectrum()