coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
early_me.c File Reference
#include <arch/io.h>
#include <device/pci_ops.h>
#include <cf9_reset.h>
#include <console/console.h>
#include <delay.h>
#include <device/pci_def.h>
#include <halt.h>
#include <southbridge/intel/common/me.h>
#include <timestamp.h>
#include "me.h"
#include "pch.h"
Include dependency graph for early_me.c:

Go to the source code of this file.

Functions

void intel_early_me_status (void)
 
int intel_early_me_init (void)
 
int intel_early_me_uma_size (void)
 
int intel_early_me_init_done (u8 status)
 

Variables

static const char * me_ack_values []
 

Function Documentation

◆ intel_early_me_init()

int intel_early_me_init ( void  )

Definition at line 43 of file early_me.c.

References BIOS_ERR, BIOS_INFO, BIOS_WARNING, count, me_hfs::fpt_bad, ME_DELAY, ME_RETRY, PCH_ME_DEV, PCI_ME_HFS, PCI_ME_UMA, pci_read_config32(), printk, me_hfs::raw, me_uma::raw, udelay(), and me_uma::valid.

Referenced by init_dram_ddr3(), raminit(), and sdram_initialize().

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

◆ intel_early_me_init_done()

◆ intel_early_me_status()

void intel_early_me_status ( void  )

Definition at line 26 of file early_me.c.

References BIOS_DEBUG, intel_me_status(), PCH_ME_DEV, PCI_ME_GMES, PCI_ME_HFS, pci_read_config32(), PCI_VENDOR_ID, printk, me_hfs::raw, and me_gmes::raw.

Referenced by init_dram_ddr3(), intel_early_me_init_done(), mainboard_romstage_entry(), perform_raminit(), and sdram_initialize().

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

◆ intel_early_me_uma_size()

int intel_early_me_uma_size ( void  )

Definition at line 74 of file early_me.c.

References BIOS_DEBUG, PCH_ME_DEV, PCI_ME_UMA, pci_read_config32(), printk, me_uma::raw, me_uma::size, and me_uma::valid.

Referenced by init_dram_ddr3(), raminit(), and sdram_initialize().

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

Variable Documentation

◆ me_ack_values

const char* me_ack_values[]
static
Initial value:
= {
[ME_HFS_ACK_NO_DID] = "No DID Ack received",
[ME_HFS_ACK_RESET] = "Non-power cycle reset",
[ME_HFS_ACK_PWR_CYCLE] = "Power cycle reset",
[ME_HFS_ACK_S3] = "Go to S3",
[ME_HFS_ACK_S4] = "Go to S4",
[ME_HFS_ACK_S5] = "Go to S5",
[ME_HFS_ACK_GBL_RESET] = "Global Reset",
[ME_HFS_ACK_CONTINUE] = "Continue to boot"
}
#define ME_HFS_ACK_S3
Definition: me.h:45
#define ME_HFS_ACK_PWR_CYCLE
Definition: me.h:44
#define ME_HFS_ACK_S4
Definition: me.h:46
#define ME_HFS_ACK_S5
Definition: me.h:47
#define ME_HFS_ACK_GBL_RESET
Definition: me.h:48
#define ME_HFS_ACK_NO_DID
Definition: me.h:42
#define ME_HFS_ACK_CONTINUE
Definition: me.h:49
#define ME_HFS_ACK_RESET
Definition: me.h:43

Definition at line 15 of file early_me.c.

Referenced by intel_early_me_init_done().