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 <console/console.h>
#include <ec/google/chromeec/ec.h>
#include <device/device.h>
#include <variant/sku.h>
Include dependency graph for mainboard.c:

Go to the source code of this file.

Functions

static bool eps_sku (uint32_t sku_id)
 
static void check_for_eps (uint32_t sku_id)
 
void variant_devtree_update (void)
 

Function Documentation

◆ check_for_eps()

static void check_for_eps ( uint32_t  sku_id)
static

Definition at line 21 of file mainboard.c.

References BIOS_ERR, BIOS_INFO, DEV_PTR, device::enabled, eps_sku(), printk, and sku_id().

Referenced by variant_devtree_update().

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

◆ eps_sku()

static bool eps_sku ( uint32_t  sku_id)
static

Definition at line 9 of file mainboard.c.

References JINLON_SKU_01, JINLON_SKU_21, and sku_id().

Referenced by check_for_eps().

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

◆ variant_devtree_update()

void variant_devtree_update ( void  )

Definition at line 39 of file mainboard.c.

References check_for_eps(), google_chromeec_get_board_sku(), and sku_id().

Here is the call graph for this function: