coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
boardid.c
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#include <
console/console.h
>
4
5
#include "
harcuvar_boardid.h
"
6
7
uint32_t
board_id
(
void
)
8
{
9
int
id
=
BoardIdHarcuvar
;
10
11
printk
(
BIOS_SPEW
,
"Board ID: %#x.\n"
,
id
);
12
13
return
id;
14
}
printk
#define printk(level,...)
Definition:
stdlib.h:16
console.h
board_id
uint32_t board_id(void)
board_id() - Get the board version
Definition:
boardid.c:6
harcuvar_boardid.h
BoardIdHarcuvar
#define BoardIdHarcuvar
Definition:
harcuvar_boardid.h:8
BIOS_SPEW
#define BIOS_SPEW
BIOS_SPEW - Excessively verbose output.
Definition:
loglevel.h:142
uint32_t
unsigned int uint32_t
Definition:
stdint.h:14
src
mainboard
intel
harcuvar
boardid.c
Generated by
1.9.1