![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#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>
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) |
Definition at line 114 of file early_fch.c.
References CONFIG, enable_acpimmio_decode_pm04(), enable_aoac_devices(), fch_disable_kb_rst(), fch_enable_cf9_io(), fch_enable_legacy_io(), fch_smbus_init(), fch_spi_early_init(), lpc_enable_port80(), lpc_enable_rom(), lpc_set_spibase(), sb_enable_lpc(), sb_lpc_decode(), setup_misc(), setup_spread_spectrum(), SPI_BASE_ADDRESS, and warm_reset().
Referenced by bootblock_soc_early_init().
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().
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.
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().
Definition at line 22 of file early_fch.c.
References CONFIG, DECODE_ALTERNATE_SIO_ENABLE, DECODE_ENABLE_ACPIUC_PORT, DECODE_ENABLE_ADLIB_PORT, DECODE_ENABLE_AUDIO_PORT0, DECODE_ENABLE_AUDIO_PORT1, DECODE_ENABLE_AUDIO_PORT2, DECODE_ENABLE_AUDIO_PORT3, DECODE_ENABLE_FDC_PORT0, DECODE_ENABLE_FDC_PORT1, DECODE_ENABLE_GAME_PORT, DECODE_ENABLE_KBC_PORT, DECODE_ENABLE_MSS_PORT2, DECODE_ENABLE_MSS_PORT3, DECODE_ENABLE_PARALLEL_PORT0, DECODE_ENABLE_PARALLEL_PORT2, DECODE_ENABLE_PARALLEL_PORT4, DECODE_ENABLE_SERIAL_PORT0, DECODE_ENABLE_SERIAL_PORT1, DECODE_ENABLE_SERIAL_PORT2, DECODE_ENABLE_SERIAL_PORT3, DECODE_ENABLE_SERIAL_PORT4, DECODE_ENABLE_SERIAL_PORT5, DECODE_ENABLE_SERIAL_PORT6, DECODE_ENABLE_SERIAL_PORT7, DECODE_SIO_ENABLE, and lpc_enable_decode().
Referenced by bootblock_fch_early_init().
|
static |
Definition at line 101 of file early_fch.c.
References BIT, misc_read32(), and misc_write32().
Referenced by bootblock_fch_early_init().
|
static |
Definition at line 47 of file early_fch.c.
References BIOS_DEBUG, CG1PLL_FBDIV_MASK, CG1PLL_FBDIV_SHIFT, CG1PLL_FBDIV_TEST, CG1PLL_LF_MODE_MASK, CG1PLL_LF_MODE_SHIFT, CG1PLL_REFDIV_MASK, CG1PLL_REFDIV_SHIFT, CG1PLL_SPREAD_SPECTRUM_ENABLE, MISC_CGPLL_CONFIG1, MISC_CGPLL_CONFIG3, MISC_CGPLL_CONFIG4, MISC_CGPLL_CONFIG5, MISC_CGPLL_CONFIG6, MISC_CLK_CNTL1, misc_read32(), misc_write32(), pm_read16(), pm_write16(), printk, PWR_RESET_CFG, SS_AMOUNT_DSFRAC_MASK, SS_AMOUNT_DSFRAC_SHIFT, SS_AMOUNT_NFRAC_SLIP_MASK, SS_AMOUNT_NFRAC_SLIP_SHIFT, SS_STEP_SIZE_DSFRAC_MASK, SS_STEP_SIZE_DSFRAC_SHIFT, and TOGGLE_ALL_PWR_GOOD.
Referenced by bootblock_fch_early_init().