coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
smbios.c
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#include <smbios.h>
4
#include <variant/variant.h>
5
6
smbios_enclosure_type
smbios_mainboard_enclosure_type
(
void
)
7
{
8
return
has_360_sensor_board
() ?
9
SMBIOS_ENCLOSURE_CONVERTIBLE
:
10
SMBIOS_ENCLOSURE_LAPTOP
;
11
}
smbios_mainboard_enclosure_type
smbios_enclosure_type smbios_mainboard_enclosure_type(void)
Definition:
smbios.c:107
smbios_enclosure_type
smbios_enclosure_type
Definition:
smbios.h:374
SMBIOS_ENCLOSURE_CONVERTIBLE
@ SMBIOS_ENCLOSURE_CONVERTIBLE
Definition:
smbios.h:405
SMBIOS_ENCLOSURE_LAPTOP
@ SMBIOS_ENCLOSURE_LAPTOP
Definition:
smbios.h:383
has_360_sensor_board
int __weak has_360_sensor_board(void)
Definition:
gpio.c:426
src
mainboard
google
drallion
variants
drallion
smbios.c
Generated by
1.9.1