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 
8 {
9  int id = BoardIdHarcuvar;
10 
11  printk(BIOS_SPEW, "Board ID: %#x.\n", id);
12 
13  return id;
14 }
#define printk(level,...)
Definition: stdlib.h:16
uint32_t board_id(void)
board_id() - Get the board version
Definition: boardid.c:6
#define BoardIdHarcuvar
#define BIOS_SPEW
BIOS_SPEW - Excessively verbose output.
Definition: loglevel.h:142
unsigned int uint32_t
Definition: stdint.h:14