coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
ramstage.c File Reference
#include <bootstate.h>
#include <arch/mmio.h>
#include <delay.h>
#include <bootmode.h>
#include <device/device.h>
#include <device/pci.h>
#include <soc/pci_devs.h>
#include <drivers/intel/gma/i915_reg.h>
Include dependency graph for ramstage.c:

Go to the source code of this file.

Functions

static void panel_power_on (uintptr_t igd_bar)
 
static void panel_reset_assert (uintptr_t igd_bar)
 
static void panel_reset_deassert (uintptr_t igd_bar)
 
static void wa_init_display_signal (void *unused)
 
 BOOT_STATE_INIT_ENTRY (BS_POST_DEVICE, BS_ON_ENTRY, wa_init_display_signal, NULL)
 

Function Documentation

◆ BOOT_STATE_INIT_ENTRY()

BOOT_STATE_INIT_ENTRY ( BS_POST_DEVICE  ,
BS_ON_ENTRY  ,
wa_init_display_signal  ,
NULL   
)

◆ panel_power_on()

static void panel_power_on ( uintptr_t  igd_bar)
static

Definition at line 12 of file ramstage.c.

References PANEL_POWER_ON, PCH_PP_CONTROL, and setbits32.

Referenced by wa_init_display_signal().

Here is the caller graph for this function:

◆ panel_reset_assert()

static void panel_reset_assert ( uintptr_t  igd_bar)
static

Definition at line 17 of file ramstage.c.

References clrsetbits32, GPIO_CLOCK_DIR_MASK, GPIO_CLOCK_DIR_OUT, GPIO_CLOCK_VAL_MASK, GPIO_CLOCK_VAL_OUT, and PCH_GPIOB.

Referenced by wa_init_display_signal().

Here is the caller graph for this function:

◆ panel_reset_deassert()

static void panel_reset_deassert ( uintptr_t  igd_bar)
static

Definition at line 24 of file ramstage.c.

References GPIO_CLOCK_DIR_MASK, GPIO_CLOCK_DIR_OUT, GPIO_CLOCK_VAL_MASK, GPIO_CLOCK_VAL_OUT, PCH_GPIOB, and setbits32.

Referenced by wa_init_display_signal().

Here is the caller graph for this function:

◆ wa_init_display_signal()

static void wa_init_display_signal ( void unused)
static