coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <bootstate.h>
#include <commonlib/console/post_codes.h>
#include <console/console.h>
#include <cpu/x86/smm.h>
#include <device/mmio.h>
#include <device/pci.h>
#include <intelblocks/cpulib.h>
#include <intelblocks/cse.h>
#include <intelblocks/lpc_lib.h>
#include <intelblocks/pcr.h>
#include <intelblocks/pmclib.h>
#include <intelblocks/systemagent.h>
#include <intelblocks/tco.h>
#include <intelblocks/thermal.h>
#include <soc/p2sb.h>
#include <soc/pci_devs.h>
#include <soc/pcr_ids.h>
#include <soc/pm.h>
#include <soc/smbus.h>
#include <soc/systemagent.h>
#include <spi-generic.h>
#include "chip.h"
Go to the source code of this file.
Macros | |
#define | CAMERA1_CLK 0x8000 /* Camera 1 Clock */ |
#define | CAMERA2_CLK 0x8080 /* Camera 2 Clock */ |
#define | CAM_CLK_EN (1 << 1) |
#define | MIPI_CLK (1 << 0) |
#define | HDPLL_CLK (0 << 0) |
Functions | |
static void | pch_enable_isclk (void) |
static void | pch_handle_sideband (config_t *config) |
static void | pch_finalize (void) |
static void | soc_finalize (void *unused) |
BOOT_STATE_INIT_ENTRY (BS_OS_RESUME, BS_ON_ENTRY, soc_finalize, NULL) | |
BOOT_STATE_INIT_ENTRY (BS_PAYLOAD_LOAD, BS_ON_EXIT, soc_finalize, NULL) | |
#define CAM_CLK_EN (1 << 1) |
Definition at line 29 of file finalize.c.
#define CAMERA1_CLK 0x8000 /* Camera 1 Clock */ |
Definition at line 27 of file finalize.c.
#define CAMERA2_CLK 0x8080 /* Camera 2 Clock */ |
Definition at line 28 of file finalize.c.
#define HDPLL_CLK (0 << 0) |
Definition at line 31 of file finalize.c.
#define MIPI_CLK (1 << 0) |
Definition at line 30 of file finalize.c.
BOOT_STATE_INIT_ENTRY | ( | BS_OS_RESUME | , |
BS_ON_ENTRY | , | ||
soc_finalize | , | ||
NULL | |||
) |
BOOT_STATE_INIT_ENTRY | ( | BS_PAYLOAD_LOAD | , |
BS_ON_EXIT | , | ||
soc_finalize | , | ||
NULL | |||
) |
Definition at line 33 of file finalize.c.
References CAM_CLK_EN, CAMERA1_CLK, CAMERA2_CLK, MIPI_CLK, pcr_or32(), and PID_ISCLK.
Referenced by pch_handle_sideband().
Definition at line 45 of file finalize.c.
References ADSPOSCDIS, config, CONFIG, config_of_soc, CPPMVRIC2, cpu_lt_lock_memory(), pch_handle_sideband(), pch_thermal_configuration(), pmc_clear_pmcon_sts(), pmc_mmio_regs(), read32(), tco_lockdown(), and write32().
Referenced by soc_finalize().
Definition at line 39 of file finalize.c.
References config, and pch_enable_isclk().
Referenced by pch_finalize().
Definition at line 85 of file finalize.c.
References APM_CNT_FINALIZE, apm_control(), BIOS_DEBUG, CONFIG, heci1_disable(), pch_finalize(), post_code, POST_OS_BOOT, and printk.