coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <arch/cpu.h>
#include <console/console.h>
#include <FspGuids.h>
#include <fsp/util.h>
#include <misc_data.h>
#include <soc/cpu.h>
#include <soc/soc_util.h>
#include <types.h>
Go to the source code of this file.
Macros | |
#define | SOCKET_TYPE_SHIFT 28 |
#define | SOCKET_TYPE_MASK (0xf << SOCKET_TYPE_SHIFT) |
#define | SILICON_IS_MYSTERY_MEAT (1 << 31) |
#define | SILICON_IS_RV2 (1 << 30) |
Functions | |
enum socket_type | get_socket_type (void) |
void | print_socket_type (void) |
static uint32_t | get_internal_silicon_type (void) |
static bool | is_rv2_silicon (void) |
static bool | is_mystery_silicon (void) |
static bool | is_fam17_1x (void) |
static bool | is_fam17_11 (void) |
static bool | is_fam17_18 (void) |
static bool | is_fam17_2x (void) |
static bool | is_fam17_20 (void) |
enum silicon_type | get_silicon_type (void) |
enum soc_type | get_soc_type (void) |
void | print_silicon_type (void) |
void | print_soc_type (void) |
bool | soc_is_reduced_io_sku (void) |
bool | soc_is_raven2 (void) |
#define SILICON_IS_MYSTERY_MEAT (1 << 31) |
Definition at line 81 of file soc_util.c.
#define SILICON_IS_RV2 (1 << 30) |
Definition at line 82 of file soc_util.c.
#define SOCKET_TYPE_MASK (0xf << SOCKET_TYPE_SHIFT) |
Definition at line 21 of file soc_util.c.
#define SOCKET_TYPE_SHIFT 28 |
Definition at line 20 of file soc_util.c.
Definition at line 53 of file soc_util.c.
References BIOS_DEBUG, BIOS_ERR, fsp_find_extension_hob_by_guid(), NULL, and printk.
Referenced by is_mystery_silicon(), and is_rv2_silicon().
enum silicon_type get_silicon_type | ( | void | ) |
Definition at line 118 of file soc_util.c.
References cpuid_eax(), and RAVEN2_A1_CPUID.
Referenced by fsp_usb_oem_customization(), print_silicon_type(), soc_is_raven2(), and soc_is_reduced_io_sku().
Definition at line 118 of file soc_util.c.
Referenced by print_soc_type(), and soc_is_reduced_io_sku().
enum socket_type get_socket_type | ( | void | ) |
Definition at line 1 of file soc_util.c.
Referenced by print_socket_type().
Definition at line 100 of file soc_util.c.
References cpuid_eax(), and RAVEN1_B0_CPUID.
Definition at line 106 of file soc_util.c.
References cpuid_eax(), and PICASSO_B1_CPUID.
Definition at line 94 of file soc_util.c.
References cpuid_eax(), and PICASSO_B1_CPUID.
Definition at line 118 of file soc_util.c.
Definition at line 112 of file soc_util.c.
References cpuid_eax(), and RAVEN2_A1_CPUID.
Definition at line 89 of file soc_util.c.
References get_internal_silicon_type(), and SILICON_IS_MYSTERY_MEAT.
Definition at line 84 of file soc_util.c.
References get_internal_silicon_type(), and SILICON_IS_RV2.
Definition at line 168 of file soc_util.c.
References BIOS_INFO, get_silicon_type(), printk, SILICON_PCO, SILICON_RV1, and SILICON_RV2.
Definition at line 189 of file soc_util.c.
References BIOS_INFO, get_soc_type(), printk, SOC_DALI, SOC_PICASSO, and SOC_POLLOCK.
Definition at line 31 of file soc_util.c.
References BIOS_INFO, get_socket_type(), printk, SOCKET_AM4, SOCKET_FP5, and SOCKET_FT5.
Definition at line 215 of file soc_util.c.
References get_silicon_type(), and SILICON_RV2.
Referenced by map_oprom_vendev_rev().
Definition at line 210 of file soc_util.c.
References get_silicon_type(), get_soc_type(), SILICON_RV2, and SOC_DALI.
Referenced by baseboard_get_ddi_descriptors(), baseboard_get_dxio_descriptors(), configure_xhci_sci(), and mainboard_get_dxio_ddi_descriptors().