coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
report_platform.c File Reference
#include <arch/cpu.h>
#include <console/console.h>
#include <device/pci.h>
#include <device/pci_ops.h>
#include <device/pci_def.h>
#include <soc/cpu.h>
#include <soc/pci_devs.h>
#include <soc/romstage.h>
Include dependency graph for report_platform.c:

Go to the source code of this file.

Functions

static uint32_t memory_cntrl_read (uint32_t offset)
 
static uint32_t fuse_port_read (uint32_t offset)
 
static void report_cpu_info (void)
 
void report_platform_info (void)
 

Variables

struct {
   u32   cpuid
 
   u32   extended_temp
 
   u32   ecc
 
   u32   secure_boot
 
   u32   d_variant
 
   u32   mm_number
 
   const char *   name
 
cpu_table []
 
struct {
   u8   revision_id
 
   const char *   stepping
 
stepping_table []
 

Function Documentation

◆ fuse_port_read()

static uint32_t fuse_port_read ( uint32_t  offset)
static

Definition at line 47 of file report_platform.c.

References mcr_write(), mdr_read(), mea_write(), offset, QUARK_ALT_OPCODE_READ, and QUARK_SCSS_FUSE_SB_PORT_ID.

Referenced by report_cpu_info().

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

◆ memory_cntrl_read()

static uint32_t memory_cntrl_read ( uint32_t  offset)
static

Definition at line 38 of file report_platform.c.

References mcr_write(), mdr_read(), mea_write(), offset, QUARK_NC_MEMORY_CONTROLLER_SB_PORT_ID, and QUARK_OPCODE_READ.

Referenced by report_cpu_info().

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

◆ report_cpu_info()

◆ report_platform_info()

void report_platform_info ( void  )

Definition at line 111 of file report_platform.c.

References report_cpu_info().

Here is the call graph for this function:

Variable Documentation

◆ 

const { ... } cpu_table[]
Initial value:
= {
{ CPUID_QUARK_X1000, 0, 0, 0, 0, 930237, "Quark X1000" },
{ CPUID_QUARK_X1000, 0, 1, 0, 0, 930239, "Quark X1010" },
{ CPUID_QUARK_X1000, 0, 1, 1, 0, 934775, "Quark X1020" },
{ CPUID_QUARK_X1000, 0, 1, 1, 1, 930236, "Quark X1020D" },
{ CPUID_QUARK_X1000, 1, 0, 0, 0, 934413, "Quark X1001" },
{ CPUID_QUARK_X1000, 1, 1, 0, 0, 934415, "Quark X1011" },
{ CPUID_QUARK_X1000, 1, 1, 1, 0, 934943, "Quark X1021" },
{ CPUID_QUARK_X1000, 1, 1, 1, 1, 934411, "Quark X1021D" },
}
#define CPUID_QUARK_X1000
Definition: cpu.h:9

Referenced by report_cpu_info().

◆ cpuid

u32 cpuid

Definition at line 13 of file report_platform.c.

◆ d_variant

u32 d_variant

Definition at line 17 of file report_platform.c.

Referenced by report_cpu_info().

◆ ecc

u32 ecc

Definition at line 15 of file report_platform.c.

Referenced by dram_dimm_set_mapping(), and report_cpu_info().

◆ extended_temp

u32 extended_temp

Definition at line 14 of file report_platform.c.

Referenced by report_cpu_info().

◆ mm_number

u32 mm_number

Definition at line 18 of file report_platform.c.

◆ name

const char* name

Definition at line 19 of file report_platform.c.

◆ revision_id

u8 revision_id

Definition at line 32 of file report_platform.c.

Referenced by report_cpu_info(), and silicon_stepping().

◆ secure_boot

u32 secure_boot

Definition at line 16 of file report_platform.c.

Referenced by report_cpu_info().

◆ stepping

◆ 

struct { ... } stepping_table[]
Initial value:
= {
{ 0, "A0" },
}

Referenced by report_cpu_info().