coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <boardid.h>
#include <ec/google/chromeec/ec.h>
#include "board.h"
#include <commonlib/bsd/cb_err.h>
#include <console/console.h>
#include <gpio.h>
Go to the source code of this file.
Functions | |
uint32_t | board_id (void) |
board_id() - Get the board version More... | |
uint32_t | ram_code (void) |
uint32_t | sku_id (void) |
board_id() - Get the board version
Return: board version on success, BOARD_ID_UNKNOWN on failure/error.
This function is used to get the mainboard version.
Definition at line 10 of file boardid.c.
References ARRAY_SIZE, BIOS_INFO, CONFIG, GPIO, gpio_base3_value(), pins, printk, and UNDEFINED_STRAPPING_ID.
Definition at line 35 of file boardid.c.
References UNDEFINED_STRAPPING_ID.
Definition at line 42 of file boardid.c.
References google_chromeec_get_board_sku().