coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
mainboard.c File Reference
#include <baseboard/variants.h>
#include <chip.h>
#include <arch/io.h>
#include <device/device.h>
#include <device/pci_ops.h>
#include <smbios.h>
#include <string.h>
#include <variant/sku.h>
Include dependency graph for mainboard.c:

Go to the source code of this file.

Macros

#define R_PCH_OC_WDT_CTL   0x54
 
#define B_PCH_OC_WDT_CTL_FORCE_ALL   BIT15
 
#define B_PCH_OC_WDT_CTL_EN   BIT14
 
#define B_PCH_OC_WDT_CTL_UNXP_RESET_STS   BIT22
 

Functions

const char * smbios_system_sku (void)
 
void variant_devtree_update (void)
 

Macro Definition Documentation

◆ B_PCH_OC_WDT_CTL_EN

#define B_PCH_OC_WDT_CTL_EN   BIT14

Definition at line 14 of file mainboard.c.

◆ B_PCH_OC_WDT_CTL_FORCE_ALL

#define B_PCH_OC_WDT_CTL_FORCE_ALL   BIT15

Definition at line 13 of file mainboard.c.

◆ B_PCH_OC_WDT_CTL_UNXP_RESET_STS

#define B_PCH_OC_WDT_CTL_UNXP_RESET_STS   BIT22

Definition at line 15 of file mainboard.c.

◆ R_PCH_OC_WDT_CTL

#define R_PCH_OC_WDT_CTL   0x54

Definition at line 12 of file mainboard.c.

Function Documentation

◆ smbios_system_sku()

const char* smbios_system_sku ( void  )

Definition at line 17 of file mainboard.c.

References snprintf(), and variant_board_sku().

Here is the call graph for this function:

◆ variant_devtree_update()